[Rails-core] Re: accepts_nested_attributes_for :reject_if

2009-11-01 Thread Carlos A. da Silva
Hello Gavin, If I really understood your problem, what Andrew said should solve it... Just by adding 'nickname' to your :reject_if proc should validate whenever you have a nickname or amount in contribution_attributes. The :reject_if should verify conditions you feel reasonable to discard that r

[Rails-core] Re: Rails scaffold on 3.0

2009-08-11 Thread Carlos A. da Silva
> 1) Should we put forms in a _form partial? On the same way this is the > "best practice", we are adding more code for people to grasp at the > beginning. I think the partial is the best way to keep code DRY, even beginners would learn partials and it's magic easier and faster than anything else

[Rails-core] Re: Last call for patches - 2.3 final is imminent

2009-03-10 Thread Carlos A. da Silva
e more DRY. http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/2201-batches-each-with-named_scope-doesnt-seem-to-work Please take a look. -- Carlos A. da Silva On Mar 9, 9:03 am, Pratik wrote: > Hey all, > > As  2.3 RC2 is out, the plan is to have the 2.3 final releas