[Rails] Re: Autoloading not working when using rake task

2010-04-22 Thread Dmitry Polushkin
Anyone, where to dig? On Apr 21, 8:17 pm, Dmitry Polushkin wrote: > Hi, > > I have a problem when I'm doing rake tasks. This behavior happens only > on one machine, on another three ones all works fine (three is on > ubuntu, problem one is under debian); totally identical en

[Rails] Autoloading not working when using rake task

2010-04-21 Thread Dmitry Polushkin
Hi, I have a problem when I'm doing rake tasks. This behavior happens only on one machine, on another three ones all works fine (three is on ubuntu, problem one is under debian); totally identical environment (I guess). I'm using translator gem, loading through config.gem in environment.rb file.

[Rails] Re: rails 2.3.2

2009-06-05 Thread Dmitry Polushkin
Use authlogic... On Jun 5, 9:58 am, Petan Cert wrote: > Hi all, > > I am using rails v.2.3.2 and if I put following line to my > ApplicationController: > > include LoginSystem > > and I moved my login_system.rb to lib folder: > > module LoginSystem >   protected > >   def is_logged_in? >     @lo

[Rails] Nested params controller verification

2009-06-05 Thread Dmitry Polushkin
Is it possible to verify nested params in controller somehow, like: class SomeController < ApplicationController verify :params => {:user => :login} end Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby

[Rails] Re: How do I access a my :include data in my ROR SQL results?

2009-06-02 Thread Dmitry Polushkin
Please read http://guides.rails.info/ before ask such a simple questions. Thanks, Dmitry Polushkin On Jun 2, 9:28 am, DL Buss wrote: > > now, in PHP, i could just call > > $all_books['book_name'] or $all_books['author_name'] and both would work > > fine

[Rails] Re: after-destroy + counter_cache concurrency issues; seeking feedback on potential solution

2008-09-29 Thread Dmitry Polushkin
I think now you can patch your rails: http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/1134-counter_cache-destroy-concurrency-issues -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscri