Nested attributes appear to work fine for a belongs_to association as of Rails 4. It might have been changed in an earlier version of Rails, but I tested in 4.0.4 and it definitely works as expected.
More Related Contents:
- rails error, couldn’t parse YAML
- Share database between 2 apps in Heroku
- Understanding :source option of has_one/has_many through of Rails
- Implement “Add to favorites” in Rails 3 & 4
- How to empty a Heroku database
- Turn off CSRF token in rails 3
- Stubbing authentication in request spec
- Rails’ link_to method: GETing when it should DELETE
- Rails 3.1: Engine vs. Mountable App
- Disable HTML escaping in erb templates
- Separate REST JSON API server and client? [closed]
- “Who’s Online” using Devise in Rails
- default_url_options and rails 3
- rmagick gem install “Can’t find Magick-config”
- Rails Engine – Gems dependencies, how to load them into the application?
- Rails 3 library not loading until require
- Clarification on how to use “thumbs_up” voting gem with Rails 3
- Rails 3.1 asset pipeline and manually ordered Javascript requires
- Rails 3 paperclip vs carrierwave vs dragonfly vs attachment_fu [closed]
- How can I specify a gem to pull from a private github repository?
- HABTM Polymorphic Relationship
- Rails 3 render action from another controller
- rails 3 activerecord order – what is the proper sql injection work around?
- Error “…cannot load such file — mysql2/2.0/mysql2 (LoadError)”. On Windows XP with Ruby 2.0.0
- How to rename rails 4 app?
- Setting up a polymorphic has_many :through relationship
- rails:3 Devise signup Filter chain halted as :require_no_authentication rendered or redirected
- Rails 3 – upload files to public directory
- ActiveRecord Find All not sorting by ID?
- Character encoding issue exporting rails data to CSV