This repository has been archived by the owner on Sep 21, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
removed hashgit^Cstring and some ActiveRecord monkey patching, trying…
… to rely only in the custom serializer to store and retrieve values from the database
- Loading branch information
Showing
10 changed files
with
143 additions
and
331 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,10 @@ | ||
require 'active_support' | ||
|
||
if RUBY_PLATFORM == "jruby" | ||
require 'activerecord-jdbcpostgresql-adapter' | ||
else | ||
require 'pg' | ||
end | ||
|
||
if defined? Rails | ||
require "activerecord-postgres-hstore/railties" | ||
else | ||
ActiveSupport.on_load :active_record do | ||
require "activerecord-postgres-hstore/activerecord" | ||
end | ||
end | ||
require "activerecord-postgres-hstore/string" | ||
require "activerecord-postgres-hstore/hash" | ||
require "activerecord-postgres-hstore/coder" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.