brpratt (at gmail)
Not a member
brpratt (at gmail)'s latest activity
Monday, October 25 2010
5859
Nested objects return extra nil array
was updated
in Ruby on Rails
-
brpratt (at gmail) commented at 3:47 PMInterestingly I found in the form:
<h2>Add a comment:</h2> <%= form_for([@post, @post.comments.build]) do |f| %> <%= f.error_messages %> <div class="field... -
brpratt (at gmail) commented at 3:47 PMInterestingly I found in the form:
<h2>Add a comment:</h2> <%= form_for([@post, @post.comments.build]) do |f| %> <%= f.error_messages %> <div class="field... -
brpratt (at gmail) commented at 3:35 PMIf it was doing a build by default wouldn't that be reflected in the db? Why would Comment.count show 0 and then my app gets an extra comment?
This app is prett...
Friday, October 22 2010
5859
Nested objects return extra nil array
was created
in Ruby on Rails
-
brpratt (at gmail) created the ticket at 9:28 PMNested objects in 3.0.1 seem to have some sort bug that returns a null object.
Posts class :has_many comments
Comments class :belongs_to postIn routes.rb I hav...