Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

felipeik's Profile

GitHub User: felipeik

Comments by

Avatar

Nice screencast!

But I believe that screencasts that help people to grow the community like creating ruby gems should not be PRO screencasts.

Avatar

i installed jquery-rails and tried autocompletion, but i've got "Ajax is not defined" error,

some help? thnx!

Avatar

Justin Zollars,

i've got the same issue,but i fixed it in my code.

you may have a model called TagName, so it is looping when you do a method call tag_name in your Inventory model.

Use the method :tag_name2 and try it out, like this:

<%= text_field_with_auto_complete :inventory, :tag_name2, { :size => 15 }, { :url => formatted_tags_path(:js), :method => :get, :param_name => 'search' } %>

hope i helped