[LRUG] Rails 3 not logging HTTPS requests

Riccardo Tacconi rtacconi at gmail.com
Thu Apr 5 03:32:20 PDT 2012


This one works: config.consider_all_requests_local       = true
Actually it was already in the staging.rb file I copied from production.

On 5 April 2012 12:25, Riccardo Tacconi <rtacconi at gmail.com> wrote:

> Thank you. Yes in Rails 3 does not work.
>
> ndefined method `consider_all_requests_local=' for
> ActionController::Base:Class
>
>
> On 5 April 2012 12:01, Max Williams <toastkid.williams at gmail.com> wrote:
>
>> #in config/environments/staging.rb
>> config.action_controller.consider_all_requests_local = true
>>
>> (this is the rails 2 syntax, may have changed for rails 3)
>>
>> On 5 April 2012 10:58, Riccardo Tacconi <rtacconi at gmail.com> wrote:
>>
>>> Is it possible to display the errors in staging (on the page) the same
>>> way as development does?
>>>
>>> On 4 April 2012 18:52, javier ramirez <jramirez at aspgems.com> wrote:
>>>
>>>> **
>>>>
>>>> Hi,
>>>>
>>>>
>>>> Running the whole site under https is a solution, but they asked me to
>>>> 'protect' only a couple of controllers. I am not using a gem, I am using
>>>> this in ApplicationController
>>>>
>>>>
>>>> Just be aware in that case your application would be vulnerable to
>>>> session stealing by intercepting your cookie (via firesheep, for example)
>>>> unless you are using the cookie only on the safe actions and you mark it as
>>>> secure only.
>>>>
>>>>
>>>> --
>>>>
>>>> javier ramírez
>>>>
>>>> ..i do ruby on rails development in madrid, spain, at
>>>> http://www.aspgems.com
>>>>
>>>> javier ramirez's home page (http://javier-ramirez.com)<http://javier-ramirez.com>
>>>> javier ramirez's blog (http://formatinternet.com)<http://formatinternet.com>
>>>>
>>>> _______________________________________________
>>>> Chat mailing list
>>>> Chat at lists.lrug.org
>>>> http://lists.lrug.org/listinfo.cgi/chat-lrug.org
>>>>
>>>>
>>>
>>>
>>> --
>>> Riccardo Tacconi
>>> Ruby on Rails and PHP development - System Administration
>>> VIRTUELOGIC LIMITED
>>>
>>> http://github.com/rtacconi
>>> http://riccardotacconi.blogspot.com
>>> http://twitter.com/rtacconi
>>>
>>> _______________________________________________
>>> Chat mailing list
>>> Chat at lists.lrug.org
>>> http://lists.lrug.org/listinfo.cgi/chat-lrug.org
>>>
>>>
>>
>> _______________________________________________
>> Chat mailing list
>> Chat at lists.lrug.org
>> http://lists.lrug.org/listinfo.cgi/chat-lrug.org
>>
>>
>
>
> --
> Riccardo Tacconi
> Ruby on Rails and PHP development - System Administration
> VIRTUELOGIC LIMITED
>
> http://github.com/rtacconi
> http://riccardotacconi.blogspot.com
> http://twitter.com/rtacconi
>



-- 
Riccardo Tacconi
Ruby on Rails and PHP development - System Administration
VIRTUELOGIC LIMITED

http://github.com/rtacconi
http://riccardotacconi.blogspot.com
http://twitter.com/rtacconi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20120405/58e0bf84/attachment-0003.html>


More information about the Chat mailing list