When we upgraded Devise (which came along with upgrading to Ruby 2.x) it 
started to require this secret key, so this config line was added at 
that time.  When I downgraded Devise, this is no longer needed -- in 
fact, throws an error -- so I commented it out again.

On 2/05/2014 5:32 am, pozorvlak wrote:
>
> In config/initializers/devise.rb:
>
> > @@ -6,7 +6,7 @@
> >    # note that it will be overwritten if you use your own mailer class with default "from" parameter.
> >    config.mailer_sender = "Growstuff <noreply@growstuff.org>"
> >
> > -  config.secret_key = ENV['RAILS_SECRET_TOKEN'] || 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
> > +  # config.secret_key = ENV['RAILS_SECRET_TOKEN'] || 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
>
> What's this change for?
>
> —
> Reply to this email directly or view it on GitHub 
> <https://github.com/Growstuff/growstuff/pull/347/files#r12202970>.
>


-- 
Alex "Skud" Bayley
skud@growstuff.org
http://growstuff.org/
For personal stuff, please use skud@infotrope.net