search for: items_lists

Displaying 2 results from an estimated 2 matches for "items_lists".

Did you mean: items_list
2010 Oct 02
0
Ajax observe_field not vorking on Rails
down vote favorite I am trying to create some kind of search in my ruby on rails application and I want to add ajax support. I want when a user types in a search box a word, ajax automatically generates the results. And I have searched almost all internet and I couldn''t find answer to following question: When I type into my text area nothing happens. It is like ajax is not working at
2005 Oct 27
0
has_one with Single Table Inheritance - NameError : uninitialized constant
...it. Below is the related code and the error message. class User < ActiveRecord::Base has_one :wishlist end class List < ActiveRecord::Base belongs_to :user end class Wishlist < List has_and_belongs_to_many :items, :class_name => ''Album'', :join_table => ''items_lists'', :foreign_key => ''list_id'', :association_foreign_key => ''item_id'' end Whenever I try to access user.wishlist I get the follow exception : g:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.1/lib/active_support/dependencies.rb:198:in `const_missin...