values_for 0.0.9 → 0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +6 -2
- data/values_for.gemspec +1 -1
- metadata +3 -4
data/README.rdoc
CHANGED
@@ -17,11 +17,11 @@ model with things you may not need unless these features are specifically reques
|
|
17
17
|
|
18
18
|
values_for is available as a gem available on GitHub. Install with:
|
19
19
|
|
20
|
-
sudo gem install
|
20
|
+
sudo gem install values_for
|
21
21
|
|
22
22
|
You'll probable want a line like the following in your environment.rb:
|
23
23
|
|
24
|
-
config.gem '
|
24
|
+
config.gem 'values_for'
|
25
25
|
|
26
26
|
== Basic Usage
|
27
27
|
|
@@ -98,6 +98,10 @@ also omit the addition of the prefix by passing :prefix => nil to values_for. Ex
|
|
98
98
|
This makes Taco respond to named scopes like Taco.wacky_composed instead of the default, which
|
99
99
|
would have prefixed the named_scopes with the name of the attribute.
|
100
100
|
|
101
|
+
== Source Code
|
102
|
+
|
103
|
+
The source code for this gem can be found on {GitHub}[http://github.com/jsl/values_for].
|
104
|
+
|
101
105
|
== Notes
|
102
106
|
|
103
107
|
This plugin doesn't implement default values for a model. If this behavior is desired, you may be interested
|
data/values_for.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: values_for
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 9
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
|
10
|
-
version: 0.0.9
|
8
|
+
- 1
|
9
|
+
version: "0.1"
|
11
10
|
platform: ruby
|
12
11
|
authors:
|
13
12
|
- Justin Leitgeb
|