activerecord-native_db_types_override 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +4 -4
- data/lib/activerecord-native_db_types_override/version.rb +1 -1
- metadata +2 -2
data/README.md
CHANGED
@@ -13,16 +13,16 @@ All adapter classes in Rails 3.1-4.0 should have a NATIVE_DATABASE_TYPES constan
|
|
13
13
|
|
14
14
|
In your ActiveRecord/Rails 3.1+ project, add this to your Gemfile:
|
15
15
|
|
16
|
+
gem 'activerecord-native_db_types_override'
|
17
|
+
|
18
|
+
For the development version:
|
19
|
+
|
16
20
|
gem 'activerecord-native_db_types_override', :git => 'git://github.com/garysweaver/activerecord-native_db_types_override.git'
|
17
21
|
|
18
22
|
Then run:
|
19
23
|
|
20
24
|
bundle install
|
21
25
|
|
22
|
-
To stay up-to-date, periodically run:
|
23
|
-
|
24
|
-
bundle update activerecord-native_db_types_override
|
25
|
-
|
26
26
|
### Usage
|
27
27
|
|
28
28
|
In your config/environment.rb or environment specfic configuration, you may specify one or more options in the config hash that will be merged into the default types. The act of configuring does the hash merge/activation of changes.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activerecord-native_db_types_override
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -12,7 +12,7 @@ cert_chain: []
|
|
12
12
|
date: 2012-08-17 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Overrides native database types for any database adapter with a native_database_types
|
15
|
-
method. Compatible with ActiveRecord 3.
|
15
|
+
method. Compatible with ActiveRecord 3.1+/4.0.
|
16
16
|
email:
|
17
17
|
- garysweaver@gmail.com
|
18
18
|
executables: []
|