search for: bookings_control

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

2006 Jul 28
3
Forms: handle foreign keys (AssociationTypeMismatch)
...1.8/gems/activerecord-1.14.2/lib/active_record/base.rb:1354:in `initialize_without_callbacks'' /Applications/Locomotive2/Bundles/rails112.locobundle/powerpc/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/callbacks.rb:236:in `initialize'' #{RAILS_ROOT}/app/controllers/bookings_controller.rb:27:in `new'' Can anybody tell me what to do? Do I have to add some sort of before_validation method that creates the Country object instead of the String (which is the ID of the selected country)? Thanks very much for help. Joshua -- Posted via http://www.ruby-forum.com/.
2009 Jun 04
1
wrong number of arguments (1 for 0)
.../var/www/rails/dropzone/vendor/plugins/newrelic_rpm/lib/new_relic/ agent/method_tracer.rb:141:in `save__without_trace_ActiveRecord_all'' /var/www/rails/dropzone/vendor/plugins/newrelic_rpm/lib/new_relic/ agent/method_tracer.rb:141:in `save!'' /var/www/rails/dropzone/app/controllers/bookings_controller.rb:137:in `update'' Any help appreciated, any suggestions on how to track down what is causing the problem would also be appreciated. Thanks.