fuse
Not a member
fuse's latest activity
Wednesday, May 04 2011
6769
Error doesn't appear in the parent with accepts_nested_attributes on a before...
was created
in Ruby on Rails
-
fuse created the ticket at 12:05 PMWhen a child is marked for destruction, callbacks (like before_destroy) are called but child error is not set in the parent like it is for classic validations.
...
Saturday, March 27 2010
Wednesday, March 24 2010
4262
Generate routes for nested resources with nil object
was created
in Ruby on Rails
-
fuse created the ticket at 3:26 PMWhen we have nested routes like this:
map.resources :families, :has_many => :peopleInside controllers and views:
family_people_path(1) => /families/1/people
bu...
Monday, January 18 2010
3737
[PATCH] Localize method for date and time, using I18n
was created
in Ruby on Rails
-
fuse created the ticket at 11:17 AMIn the view it can be useful to have the localize method at the object level to avoid something like:
<%= @object.date if @object.date %>
and use
<%= @object...