Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ def acts_as_geolocated(options = {})
puts "[WARNING] table #{table_name} doesn't exist, acts_as_geolocated won't work. Skip this warning if you are running db migration"
end
rescue ActiveRecord::NoDatabaseError
rescue ActiveRecord::ConnectionNotEstablished
rescue PG::ConnectionBad
end
end
Expand Down