search for: items_list

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

Did you mean: item_list
2010 Oct 02
0
Ajax observe_field not vorking on Rails
...;'#spinner'').show()", :success => "$(''#spinner'').hide()", :url => {:action => ''list''}, :with => ''query'' %> <div id="table"> <%= render :partial => "items_list" %> </div> And my controler is: def list sort = case params[''sort''] when "Title" then "title" when "address" then "address" when "close date" then "close_date"...
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_missi...