Displaying 1 result from an estimated 1 matches for "b0obkkm3pq".
2013 Dec 10
2
form_tag + fields_for Rails 4
...class Campus < ActiveRecord::Base
> belongs_to :church
> has_many :addresses, :as => :addressable
>
>
> accepts_nested_attributes_for :addresses
>
> end
Request parameters
{"utf8"=>"✓", "authenticity_token"=>"B0OBKKM3PQ/Jkh1ebcKyrKZGJuauJeN3O/BWv8Vc7qE=", "campus"=>{"name"=>"Campus name", "description"=>"campus description"}, "addresses"=>{"street"=>"Street name", "street2"=>"", "city&quo...