I understand. Thank you very much, Ignacio.

On Saturday, April 5, 2014 8:08:54 AM UTC-7, Ignacio Huerta wrote:
>
> Hi Paul, 
>
> Currently Hobo 2.1 uses the "protected attributes" gem 
> (https://github.com/rails/protected_attributes). 
>
> While migrating Hobo to Rails 4 I found that the new "strong parameters" 
> approach was a bit hard to implement with all of Hobo's automatic 
> actions. So I opted for using the "old" protected attributes. 
>
> In any case, I think you can have custom Rails-style actions in a 
> controller and make them use paramaters-conditioning. But with the 
> automatic actions you need to use "protected attributes" (at least for 
> the moment). 
>
> Warm regards, 
> Ignacio 
>
> El 04/04/14 22:04, [email protected] <javascript:> escribió: 
> > I am starting my first Rails 4/Hobo 2.1 app, and I am confused about the 
> > state of mass assignment permissions in Hobo. 
> > 
> > I have watched the Railscasts #371 episode, and Ryan's solution seems 
> > cool, but I am not sure how it would integrate with Hobo. Would I need 
> > to explicitly define parameters-conditioning versions of the auto 
> > actions I use? 
> > 
> > Who can clarify for me? 
> > 
> > Thanks so much. 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> > Groups "Hobo Users" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> > an email to [email protected] <javascript:> 
> > <mailto:[email protected] <javascript:>>. 
> > To post to this group, send email to [email protected]<javascript:> 
> > <mailto:[email protected] <javascript:>>. 
> > Visit this group at http://groups.google.com/group/hobousers. 
> > For more options, visit https://groups.google.com/d/optout. 
>

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/hobousers.
For more options, visit https://groups.google.com/d/optout.

Reply via email to