On Aug 16, 4:03 am, orangea <[email protected]> wrote:
> Hello! I can't find a way to have rails not use a database. I just
> left my database.yml file as it is. When I run my rails application
> that has no models, my browser says that it couldn't connect to a
> database. In environment.rb I uncommented the line
> config.frameworks -=
> [ :active_record, :active_resource, :action_mailer ]

That is about it but you need to also remove any other reference to
those frameworks (eg in the config files or in the initializers)

Fred
> but then Webrick won't start. Sorry if this has already been posted or
> the solution is really simple, I couldn't find anything after about a
> half hour of searching and I've only been using rails for a few days.
> Thanks!
--~--~---------~--~----~------------~-------~--~----~
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