Skip to content
This repository has been archived by the owner on Jun 22, 2020. It is now read-only.

Commit

Permalink
Assignment is not equality
Browse files Browse the repository at this point in the history
  • Loading branch information
pootsbook committed Jan 22, 2013
1 parent 4a29496 commit 7b9b605
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/active_record.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ActiveRecord::Base.logger = Logger.new(STDOUT)
ActiveRecord::Migration.verbose = true

if ENV['RACK_ENV'] = 'development'
if ENV['RACK_ENV'] == 'development'
dbconfig = YAML::load(File.open('config/database.yml'))
ActiveRecord::Base.establish_connection dbconfig[ENV['RACK_ENV']]
else
Expand Down

0 comments on commit 7b9b605

Please sign in to comment.