Found a hack?

I looked into the environments folder and compared development vs.
production. I found this line:

config.action_controller.consider_all_requests_local = false

I changed it to 'true' and the application now works. Any kind soul
that could explain this to me? I'm not really a Rails expert.

Thanks

On Apr 26, 9:41 am, pepe <[email protected]> wrote:
> Still trying to figure this out. Some more info:
>
> The auto-complete field that does not work depends on the values
> entered in 2 other auto-comple fields. In development the 2 fields are
> being updated correctly but not when the application runs in
> production mode mode.
>
> Those values are stored in session variables and I have read that
> there are changes as how sessions behave with 2.3.2. Any ideas what
> might be going on?
>
> Thanks a lot.
>
> On Apr 26, 8:43 am, pepe <[email protected]> wrote:
>
> > Hello.
>
> > ruby 1.8.6 (patchlevel 111)
> > rails 2.3.2
> > Windows XP Professional
>
> > I am getting quite a weird problem. I have several auto-complete
> > fields in a page. When I run the code in development mode everything
> > works but when the application runs in production mode one and only
> > one of the fields does not auto-complete anymore.
>
> > The database being used is the same in both cases (I'm just replacing
> > 'development:' and 'production:' in database.yml whenever I change
> > environments) so a data problem is out of the question.
>
> > I have looked and compared code between different auto-complete fields
> > and everything is identical except for the field names. Controller
> > code does not seem to be a problem either. Checked logs and I can't
> > see anything obviously wrong either. Searched the web but found
> > nothing.
>
> > Any help would be appreciated.
>
> > Thanks a lot.
>
> > Pepe
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to