prim 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +9 -0
- data/lib/prim/collection.rb +2 -0
- data/prim.gemspec +1 -1
- metadata +1 -1
data/README.md
CHANGED
@@ -71,6 +71,15 @@ User.first.primary_language
|
|
71
71
|
=> #<Language id: 5, name: "English" ... >
|
72
72
|
```
|
73
73
|
|
74
|
+
|
75
|
+
Notes
|
76
|
+
-----
|
77
|
+
|
78
|
+
* Currently only supports ActiveRecord with an SQL data store like PostgreSQL, MySQL, or MariaDB. More support coming soon.
|
79
|
+
* Primary management is automatically added to subclasses of ActiveRecord::Base, so your data models need to inherit from that.
|
80
|
+
* At the very least Prim requires ActiveRecord 3.2 and ActiveSupport 3.2.
|
81
|
+
|
82
|
+
|
74
83
|
Contributing
|
75
84
|
------------
|
76
85
|
|
data/lib/prim/collection.rb
CHANGED
data/prim.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = "prim"
|
3
|
-
s.version = "0.0.
|
3
|
+
s.version = "0.0.5"
|
4
4
|
s.date = "2013-01-02"
|
5
5
|
s.summary = "Easily manage Rails associations that need a primary member."
|
6
6
|
s.description = "With Prim it's easy to add a primary member to any one-to-many or many-to-many association. " +
|