search for: unknownattributeerror

Displaying 6 results from an estimated 6 matches for "unknownattributeerror".

2010 Aug 10
3
ActiveRecord::UnknownAttributeError: unknown attribute: <script type
Has anyone seen this happening to their apps? I''m starting to get errors like this come across from one of my apps: ActiveRecord::UnknownAttributeError: unknown attribute: <script type The parameters being sent are: {"user"=> {"email_confirmation"=>"someone-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org", "wants_new_message_notifications"=>"1", "is_admin"=>"0",...
2009 May 01
0
Graticule / acts_as_geocodable error?
Has anyone encountered this error using Graticule & acts_as_geocodable? ActiveRecord::UnknownAttributeError (unknown attribute: precision): (__DELEGATION__):2:in `__send__'' (__DELEGATION__):2:in `with_scope'' app/models/listing.rb:113:in `advanced_find'' ... Here is line 113 in listing.rb: published.find(:all, :origin => zip_code, :within => miles, :...
2009 May 03
1
Localizing attributes when using I18n
...locale.to_s}" return send(localized_method.to_sym) if respond_to? (localized_method) #{attribute_name} end } end end it works fine for :show, :index, :new. But when I''m trying to create or update, I get the following error: ActiveRecord::UnknownAttributeError in NewsitemsController#create unknown attribute: _body What''s wrong? Please, help.
2010 Feb 26
0
save has-many associations
...<% end %> <% end %> <% end %> <p> <%= f.submit "Submit Document" %> </p> <% end %> What is way to save the header, sections and items. Do I have to iterate the request hash. The below code doesn''t work. Gives ActiveRecord::UnknownAttributeError inDocumentsController#create def create @document = Document.new(params[:document]) @document.save! end Request: {"commit"=>"Submit Document", "authenticity_token"=>"+uOqJn1DSjzK6r1iIkaIqZa9VrKpU2Yr/A6zP0vg0eM=", "document"=>{"sect...
2009 Apr 12
0
rails 2.3 nested forms with has_many through checkboxes
...rm| %><%= category_form.text_field :title, :style => "width: 200px;", :class => "textfield small formElement" %><% end %> </li> <%- end -%> </ul> Right now, if I try and create or update a page I get the following error... ActiveRecord::UnknownAttributeError in Admin/pagesController#update unknown attribute: page_category RAILS_ROOT: /Users/rajo/Sites/boilerplate Application Trace | Framework Trace | Full Trace /Users/rajo/Sites/boilerplate/vendor/rails/activerecord/lib/ active_record/base.rb:2745:in `attributes='' /Users/rajo/Sites/boilerpla...
2010 Sep 21
25
Working in install acts_as_commentable, On create, error: "unknown attribute: book_id"
...t;{"comment"=>"WOOOW", "book_id"=>"32"}, "commit"=>"Post Comment", "authenticity_token"=>"5YbtEMpoQL1e9coAIJBOm0WD55vB2XRZMJa4MMAR1YI=", "utf8"=>"✓"} Completed in 11ms ActiveRecord::UnknownAttributeError (unknown attribute: book_id): app/controllers/comments_controller.rb:3:in `new'' app/controllers/comments_controller.rb:3:in `create'' Suggestions? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to...