On May 14, 1:32 pm, Max <aa...@xmission.com> wrote:
> but wouldn't it have an affect on the ability to access the
> remember_token in the SessionHelper?
>

No. Like i said it affects the ability to write attributes by passing
a hash of keys to values. It never affects reading column values and
never affects the ability to write values explicitly

Fred

> in this code:
> module SessionsHelper
>   def sign_in(user)
>     cookies.permanent[:_pm] = user.remember_token
>     current_user = user
>   end
> end
>
>
>
>
>
>
>
> > Sort of. it means that the value can be set by update_attributes or
> > the other APIs that take a hash of attributes. It has no effect on the
> > ability  to do self.remember_token = 'blah'
>
> > Fred

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to