- 
            
            as seen on Stack Overflow
            - Search for 'Stack Overflow' 
            
 Hi,
Some methods have been deprecated with Rails3. 
It is the case in particular with the following call !
Error.find(:all, :select => 'DISTINCT type')
Is anybody have an idea, how to convert this call to an ActiveRecord3 valid statement ?
I found nothing on the web ...
Thanks
            >>> More
 
- 
            
            as seen on Stack Overflow
            - Search for 'Stack Overflow' 
            
 I just install rails 3 and all gems that it need, but when I try to start server, it says about problem in boot script.
[rap-kasta@acerAspire testR3]$ script/rails server  
/home/rap-kasta/tmp/testR3/config/boot.rb:7:in `rescue in <top (required)>': uninitialized constant Bundler (NameError)…
            >>> More
 
- 
            
            as seen on Stack Overflow
            - Search for 'Stack Overflow' 
            
 I'm using Rails 3 w/ Mongoid, (so no ActiveRecord). Mongoid uses ActiveModel's "to_json" method, and by default that method includes the root object in the JSON (which I don't want).
I've tried putting this in an initializer:
ActiveModel::Base.include_root_in_json = false
But get the error
uninitialized…
            >>> More
 
- 
            
            as seen on Stack Overflow
            - Search for 'Stack Overflow' 
            
 I apologize if this question is slightly subjective... I am trying to figure out the best way to test Rails 3 Engines with Cucumber & Rspec.  In order to test the engine a rails 3 app is necessary.  Here is what I am currently doing:
Add a rails test app to the root of the gem (myengine) by…
            >>> More
 
- 
            
            as seen on Stack Overflow
            - Search for 'Stack Overflow' 
            
 I have a Rails 3 app ready for staging. 
I haven't got a VPS host set up yet. As I was planning to have everything on shared host for the first few months.
Problem:
cd myapp
bundle check
result: 
The Gemfile's dependencies are satisfied
Passenger error:
Error message:
    no such file to load…
            >>> More