test/doc-only.rdoctest in hobo_fields-2.0.0.pre7 vs test/doc-only.rdoctest in hobo_fields-2.0.0.pre8
- old
+ new
@@ -14,10 +14,14 @@
First off, if you're using the migration generator outside of Hobo, do remember the `--skip-migration` option when generating your models:
$ rails generate model blog_post --skip-migration
+If you're using Hobo:
+
+ $ rails generate hobo:model blog_post
+
Now edit your model as follows:
class BlogPost < ActiveRecord::Base
fields do
title :string
@@ -58,14 +62,10 @@
$ gem install hobo_fields
The source lives on GitHub as part of the main Hobo repo:
- - [http://github.com/tablatom/hobo](http://github.com/tablatom/hobo)
-
-To use hobo_fields as a plugin is not as simple as it should be. You
-will have to clone `git://github.com/tablatom/hobo` and then copy the
-`hobo_fields` subdirectory into `/vendors/plugins`
+ - [http://github.com/Hobo/hobo](http://github.com/Hobo/hobo)
## Rich Types
In addition to the migration generator, HoboFields provides a Rich-Type mechanism that allows you to declare your fields using higher level concepts like "email-address" or "markdown text". This can give you both automatic validations, and automatic rendering of those values in the UI (this works particularly well if you use the rest of Hobo).