model_probe 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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