Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ajb committed Sep 27, 2013
1 parent f2188c0 commit bf68344
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,14 @@ Since Formbuilder.rb is a fairly non-trial piece of software, it's important to
If you have a few moments, consider reading the source, especially the Rails app in `spec/dummy`, as it should give you a good idea of how Formbuilder integrates.

### Installation
#### 1) Create the migrations for the Formbuilder models
#### 1) Install the gem
`gem 'formbuilder'`

#### 2) Create the migrations for the Formbuilder models
1. `rake formbuilder:install:migrations`
2. `rake db:migrate`

#### 2) The `Entry` model gets mixed in to an existing model in your application
#### 3) The `Entry` model gets mixed in to an existing model in your application
```ruby
# submitted_at :datetime
# responses :hstore
Expand All @@ -31,7 +34,7 @@ class Entry < ActiveRecord::Base
end
```

#### 3) Associate a form with an existing model (optional)
#### 4) Associate a form with an existing model (optional)
```ruby
class MovieTheater < ActiveRecord::Base

Expand Down
2 changes: 1 addition & 1 deletion lib/formbuilder/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Formbuilder
VERSION = "0.0.1"
VERSION = "0.0.2"
end

0 comments on commit bf68344

Please sign in to comment.