Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autocomplete Foreign Key Fixture Reference runtime error #8

Open
mattheworiordan opened this issue Jan 5, 2010 · 3 comments
Open

Comments

@mattheworiordan
Copy link

When I use the Autocomplete Foreign Key Fixture Reference, a runtime error and trace is pasted into TextMate as follows:

--- Code ---
test "autocomplete" do
countries([CURSOR_HERE])
end
--- /Code ---

When I select the Autocomplete option, or use Alt-Esc, I get the following error message:

/Library/Application Support/TextMate/Bundles/Ruby on Rails.tmbundle/Support/lib/rails/inflector.rb:109:in /bin/bash: -c: line 0: unexpected EOF while looking for matching `''
/bin/bash: -c: line 1: syntax error: unexpected end of fileempty?' for nil:NilClass (NoMethodError)
from /Library/Application Support/TextMate/Bundles/Ruby on Rails.tmbundle/Support/bin/fixture_auto_complete.rb:22:in

My Fixtures YAML is definitely valid as it works within my tests, unless you are parsing the YAML not using the standard YAML processor.

Any help would be appreciated. If you could even point me in the direction of what to look for and where to start, I'm happy to try and fix the issue and send you a patch...

This bundle is fantastic btw!

Thanks,
Matt

@drnic
Copy link
Owner

drnic commented Mar 4, 2010

Thanks for reporting the bug - I'm no longer using fixtures so I don't use this feature. This might also hinder my personal interest in fixing the bug asap. I'll see how we go.

@drnic
Copy link
Owner

drnic commented Mar 4, 2010

BTW, are you using ruby18 or ruby19?

@mattheworiordan
Copy link
Author

I am using version 1.8.7, thanks for the help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants