model_probe 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 +8 -2
- data/lib/model_probe/version.rb +1 -1
- metadata +1 -1
data/README.md
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
# ModelProbe
|
2
2
|
|
3
|
-
|
3
|
+
## Schema introspection for ActiveModel
|
4
|
+
|
5
|
+
Provides a detailed view of the underlying schema that backs an ActiveModel
|
4
6
|
|
5
7
|
## Installation
|
6
8
|
|
@@ -18,7 +20,11 @@ Or install it yourself as:
|
|
18
20
|
|
19
21
|
## Usage
|
20
22
|
|
21
|
-
|
23
|
+
```ruby
|
24
|
+
MyModel.extend ModelProbe
|
25
|
+
MyModel.probe
|
26
|
+
MyModel.fixture
|
27
|
+
```
|
22
28
|
|
23
29
|
## Contributing
|
24
30
|
|
data/lib/model_probe/version.rb
CHANGED