Skip to content

Autocomplete Foreign Key Fixture Reference runtime error #8

Open
@mattheworiordan

Description

@mattheworiordan

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions