Elad-

This gem looks great to me. I think it could very well reduce code duplication 
(and make those strong parameter definitions look a little cleaner).

One thing I think about a lot is how a Rails 4 app could be built with many, 
many controllers that share the definition of the strong parameters across 
controllers (or don't share them, as the case need be) --- without repeating 
code, of course. I could brainstorm different ways (inherited controller 
classes, with the strong parameters defined in base classes, using modules to 
mix-in the strong parameters, etc)

In general I find this syntax (yours) to be very clean, very terse, and easy to 
read. 

filter_parameters all: {user: [:name, :age]}

-Jason


On Aug 27, 2014, at 2:21 PM, Amiel Martin <am...@carnesmedia.com> wrote:

> Could you explain why the extra method in the controller bothers you?
> 
> Thanks,
> 
> -Amiel
> 

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-core+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-core@googlegroups.com.
Visit this group at http://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.

Reply via email to