Ruby on Rails Tuesday, October 30, 2012

I tried
ActionController::Base.session_options[:secure] = true
and the session cookie is not set at all. If I set it to false
everything works fine but if it's true the server never sets the cookie
even if the request is over https (although my understanding is that it
should set it anyway)

--
Posted via http://www.ruby-forum.com/.

--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ruby on Rails

I intend to step out of the 'learner app' zone as quickly as I can :)


Thank you all

On Tuesday, October 30, 2012 6:00:21 PM UTC+2, Tommaso Visconti wrote:
Il 30/10/12 16:54, Dave Aronson ha scritto:
> On Tuesday, October 30, 2012, Dmitry Maksyoma wrote:
>
>     Heroku is quite expensive,
>
>
> Maybe if you have a large app, but it sounded like the app in question
> was a typical small learner app.  In that case, he can likely host it
> there for free.  Can't get much cheaper than that.  ;-)

I'm trying appfog in these days and it's cool :)

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/FvT-wsNiyewJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Ruby on Rails

Issue solved with a little modification to application.rb changin
require rails/all for

require "action_controller/railtie"
require "action_mailer/railtie"
require "active_resource/railtie"
require "rails/test_unit/railtie"
require "sprockets/railtie"

and removing the white_list

and removing some lines from development.rb and

--
Posted via http://www.ruby-forum.com/.

--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.