I\'m trying to get it to work but it dosen\'t! I have class User < ActiveRecord::Base has_many :events, :through => :event_users
I have a Content model which has one or many Audio files which need to be added by the new/edit form.
I hope you can help me. /config/routes.rb: resources :deadlines do resources :comments end /model/comment.rb:
Through a combination of logic and a lack of experience with JQuery/Javascript, I have found myself with this problem.
I\'ve got a form \'tasks\' and I am dynamically adding a child \'steps\' form. The \'steps\' is added through a javascript call to render(\'steps/form\').
I\'ve been following this railscast http://media.railscasts.com/videos/074_complex_forms_part_2.mov I\'ve got a task and steps. Each task can have many steps.
I am having a problem getting the params of a nested form in the following case: I have these 3 nested models:
I have an array of locations locations = [\"california\", \"new york\", \"florida\"] I have a model called foobar that has_many :places.
I\'m working on a add to cart form. It looks something like this #Models Order.rb has_many :line_items accepts_nested_attributes_for :line_items, :allow_destroy => true
I have an interesting problem involving an object creation step in my Rails 3 music application. I have two models (not the actual models; but for simplicity):