ActiveRecord::Base.establish_connection(ENV['DATABASE_URL'])
This also works for class-specific databases: class Photo < ActiveRecord::Base
establish_connection(ENV['PHOTOS_DATABASE_URL'])
end619 karma · joined March 31, 2011
ActiveRecord::Base.establish_connection(ENV['DATABASE_URL'])
This also works for class-specific databases: class Photo < ActiveRecord::Base
establish_connection(ENV['PHOTOS_DATABASE_URL'])
endNotes to self:
In QA format, place the answers close to the questions they correspond to.
Be consistent in placing initials before dialog.Want to Save-all? Cmd-Shift-P, type 'save' and hit enter. Plus it takes into account any customizations or add-ons you might have put together.
It's good to know your strengths and to be willing to lean on the people that you trust. It's bad to be a pushover.
Do you think she got mad because your change made the product less compelling or because she felt it undermined her status?
http://www.avc.com/a_vc/2012/07/mobile-is-where-the-growth-i...
People see the phone as the application. Individual apps on the home screen are the features.
"Asked why he had become so active online, Mr. Dotcom said he was using the most efficient way to respond to all the good-will messages he had received."
Amazon Prime for everything. Can't wait till the NYC launch.
http://en.wikipedia.org/wiki/Hypovitaminosis_D#Cancer
That said, if you are going to spend time outside, the benefits of wearing sunscreen and a hat undoubtedly outweigh whatever risk they may induce.