Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # To use ActiveRecord models in Sinatra, include something like this in your code. For use in another framework, fiddle with the 'configure' call.
- configure do
- ActiveRecord::Base.establish_connection(:adapter => "sqlite3",
- :dbfile => "db/production.sqlite3")
- end
Add Comment
Please, Sign In to add comment