Rails model without database?

I want to create a Rails (2.1 and 2.2) model with ActiveRecord validations, but without a database table. What is t...

How to stop (and restart) the Rails Server??

I'm following the instructions here http://railsinstaller.org/mac to get up and running with Rails on a Mac running ...

Pass Parameters in render - Rails 3?

I've seen a couple questions on this but haven't been able to solve it... I'm trying to pass a parameter while rend...

How do I turn on SQL debug logging for ActiveRecord in RSpec tests??

I have some RSpec tests for my models and I would like to turn on SQL ActiveRecord logging just like I see in the Ra...

gem install rails does not install rails?

When I tries to install rails: [email protected]:/# gem install rails Successfully installed rails-3.2.1 1 gem installed...

Heroku app page not found?

I deployed a rails app on Heroku. Everything was working fine. I pushed the code to Heroku master, and everything wo...

How do I get the name of a Ruby class??

How can I get the class name from an ActiveRecord object? I have: result = User.find(1) I tried: result.class #...

How to get request referer path??

I need the path of the referrer. I don't want the domain name. For example, if the referrer is http://www.google.com...