Skip to content
This repository
Newer
Older
100644 593 lines (442 sloc) 25.755 kb
420b4ce7 »
2009-04-22 sick of updating the README with every version bump :)
1 h1. Formtastic
dcf8bebb » Justin French
2008-04-07 Initial Commit
2
3 Formtastic is a Rails FormBuilder DSL (with some other goodies) to make it far easier to create beautiful, semantically rich, syntactically awesome, readily stylable and wonderfully accessible HTML forms in your Rails applications.
4
cd0a1bac »
2010-11-17 pledgie image URL is a redirect, so here's the real URL
5 <a href='http://www.pledgie.com/campaigns/2178'><img alt='Click here to lend your support to: formtastic and make a donation at www.pledgie.com !' src='http://pledgie.com/campaigns/2178.png?skin_name=chrome' border='0' /></a>
1bbe8ea4 »
2010-10-08 add the pledgie badge back in, GH don't show them any more?
6
dc5857b9 »
2011-01-13 moved compatibility note in README further up
7
8 h2. Compatibility
9
22a9af1c »
2011-09-02 prep README for 2.0
10 * Formtastic 2.0 is Rails 3.x compatible only
11 * Formtastic 1.x is compatible with both Rails 2 and 3, and is being maintained for bug fixes in the the "1.2-stable branch":https://github.com/justinfrench/formtastic/tree/1.2-stable. View the README in that branch for installation instructions, etc.
dc5857b9 »
2011-01-13 moved compatibility note in README further up
12 * Formtastic, much like Rails, is very ActiveRecord-centric. Many are successfully using other ActiveModel-like ORMs and objects (DataMapper, MongoMapper, Mongoid, Authlogic, Devise...) but we're not guaranteeing full compatibility at this stage. Patches are welcome!
13
14
09d957d0 » Justin French
2008-04-29 textilized the README so that it looks pretty pretty on GitHub
15 h2. The Story
dcf8bebb » Justin French
2008-04-07 Initial Commit
16
2d4a72b4 »
2009-02-16 big update to the README
17 One day, I finally had enough, so I opened up my text editor, and wrote a DSL for how I'd like to author forms:
dcf8bebb » Justin French
2008-04-07 Initial Commit
18
09d957d0 » Justin French
2008-04-29 textilized the README so that it looks pretty pretty on GitHub
19 <pre>
bc5603ba »
2011-05-17 convert <% ... do %> to <%= ... do %> in README
20 <%= semantic_form_for @article do |form| %>
353618ed » markmansour
2009-01-13 Extending Formtastic can be done by overriding the semantic_form_buil…
21
bc5603ba »
2011-05-17 convert <% ... do %> to <%= ... do %> in README
22 <%= form.inputs :name => "Basic" do %>
353618ed » markmansour
2009-01-13 Extending Formtastic can be done by overriding the semantic_form_buil…
23 <%= form.input :title %>
24 <%= form.input :body %>
1db292f7 » sprsquish
2009-02-28 update README to reflect association attribute changes
25 <%= form.input :section %>
26 <%= form.input :publication_state, :as => :radio %>
9997ce62 » josevalim
2009-03-07 Added more information about inputs :for in README.
27 <%= form.input :category %>
353618ed » markmansour
2009-01-13 Extending Formtastic can be done by overriding the semantic_form_buil…
28 <%= form.input :allow_comments, :label => "Allow commenting on this article" %>
29 <% end %>
30
bc5603ba »
2011-05-17 convert <% ... do %> to <%= ... do %> in README
31 <%= form.inputs :name => "Advanced" do %>
353618ed » markmansour
2009-01-13 Extending Formtastic can be done by overriding the semantic_form_buil…
32 <%= form.input :keywords, :required => false, :hint => "Example: ruby, rails, forms" %>
7e3874a1 »
2008-08-13 trying to fix README formatting of <'s at the start of lines
33 <%= form.input :extract, :required => false %>
34 <%= form.input :description, :required => false %>
353618ed » markmansour
2009-01-13 Extending Formtastic can be done by overriding the semantic_form_buil…
35 <%= form.input :url_title, :required => false %>
7e3874a1 »
2008-08-13 trying to fix README formatting of <'s at the start of lines
36 <% end %>
37
90c6e298 »
2011-06-07 Revert "use real objects in :for and fields_for examples"
38 <%= form.inputs :name => "Author", :for => :author do |author_form| %>
05ae54da » josevalim
2009-03-22 Fixed nested attributes example in README
39 <%= author_form.input :first_name %>
40 <%= author_form.input :last_name %>
9997ce62 » josevalim
2009-03-07 Added more information about inputs :for in README.
41 <% end %>
42
bc5603ba »
2011-05-17 convert <% ... do %> to <%= ... do %> in README
43 <%= form.buttons do %>
353618ed » markmansour
2009-01-13 Extending Formtastic can be done by overriding the semantic_form_buil…
44 <%= form.commit_button %>
7e3874a1 »
2008-08-13 trying to fix README formatting of <'s at the start of lines
45 <% end %>
09d957d0 » Justin French
2008-04-29 textilized the README so that it looks pretty pretty on GitHub
46
dcf8bebb » Justin French
2008-04-07 Initial Commit
47 <% end %>
09d957d0 » Justin French
2008-04-29 textilized the README so that it looks pretty pretty on GitHub
48 </pre>
49
6734cfd2 »
2008-07-21 sme typos and cleanups in the readme
50 I also wrote the accompanying HTML output I expected, favoring something very similar to the fieldsets, lists and other semantic elements Aaron Gustafson presented in "Learning to Love Forms":http://www.slideshare.net/AaronGustafson/learning-to-love-forms-web-directions-south-07, hacking together enough Ruby to prove it could be done.
dcf8bebb » Justin French
2008-04-07 Initial Commit
51
52
bdbe30ba »
2011-09-23 a few README clean-ups for 2.0
53 h2. It's awesome because...
9af5cc8c »
2009-02-28 Big update and re-organization of the README:
54
64d55a84 » nathanl
2011-09-26 Improve grammar, capitalization, formatting
55 * It can handle @belongs_to@ associations (like Post belongs_to :author), rendering a select or set of radio inputs with choices from the parent model.
56 * It can handle @has_many@ and @has_and_belongs_to_many@ associations (like: Post has_many :tags), rendering a multi-select with choices from the child models.
57 * It's Rails 3 compatible (including nested forms).
58 * It has internationalization (I18n)!
59 * It's _really_ quick to get started with a basic form in place (4 lines), then go back to add in more detail if you need it.
60 * There's heaps of elements, id and class attributes for you to hook in your CSS and JS.
61 * It handles real world stuff like inline hints, inline error messages & help text.
62 * It doesn't hijack or change any of the standard Rails form inputs, so you can still use them as expected (even mix and match).
63 * It's got absolutely awesome spec coverage.
64 * There's a bunch of people using and working on it (it's not just one developer building half a solution).
65 * It has growing HTML5 support (new inputs like email/phone/search, new attributes like required/min/max/step/placeholder)
9af5cc8c »
2009-02-28 Big update and re-organization of the README:
66
67
15e0bd98 » Justin French
2008-05-30 updated the README a little to match last night's slides
68 h2. Opinions
69
64d55a84 » nathanl
2011-09-26 Improve grammar, capitalization, formatting
70 * It should be easier to do things the right way than the wrong way.
71 * Sometimes _more mark-up_ is better.
72 * Elements and attribute hooks are _gold_ for stylesheet authors.
73 * Make the common things we do easy, yet ensure uncommon things are still possible.
15e0bd98 » Justin French
2008-05-30 updated the README a little to match last night's slides
74
dcf8bebb » Justin French
2008-04-07 Initial Commit
75
3dd64554 »
2009-07-03 Link to RDoc URL in README
76 h2. Documentation
77
78 RDoc documentation _should_ be automatically generated after each commit and made available on the "rdoc.info website":http://rdoc.info/projects/justinfrench/formtastic.
79
80
e3f04f66 »
2010-09-13 README installation instructions simlified and clarified to specific …
81 h2. Installation
c89e9853 »
2009-03-08 updating README with gem/plugin installation instructions
82
ebe4e51c »
2010-09-08 updated the README to reflect the new gem versions and other compatib…
83 Simply add Formtastic to your Gemfile and bundle it up:
557f9295 »
2010-08-28 updated README to reflect new 1.1.0.beta gem, etc
84
85 <pre>
22a9af1c »
2011-09-02 prep README for 2.0
86 gem 'formtastic'
557f9295 »
2010-08-28 updated README to reflect new 1.1.0.beta gem, etc
87 </pre>
88
22a9af1c »
2011-09-02 prep README for 2.0
89 Run the installation generator:
c89e9853 »
2009-03-08 updating README with gem/plugin installation instructions
90
91 <pre>
e3f04f66 »
2010-09-13 README installation instructions simlified and clarified to specific …
92 $ rails generate formtastic:install
c89e9853 »
2009-03-08 updating README with gem/plugin installation instructions
93 </pre>
94
ebe4e51c »
2010-09-08 updated the README to reflect the new gem versions and other compatib…
95
96 h2. Stylesheets
c89e9853 »
2009-03-08 updating README with gem/plugin installation instructions
97
28754a29 »
2011-06-03 updated README for asset pipeline with ie6 & 7 css
98 A proof-of-concept set of stylesheets are provided which you can include in your layout. Customization is best achieved by overriding these styles in an additional stylesheet.
4f4b069f »
2011-05-31 Rails 3.1 Asset Pipeline compatibility (Fixes #563)
99
100 h3. Stylesheet usage in Rails < 3.1:
101
102 <pre>
103 $ rails generate formtastic:install
104 </pre>
105
106 <pre>
107 # app/views/layouts/application.html.erb
108 <%= stylesheet_link_tag 'formtastic', 'my_formtastic_changes' %>
28754a29 »
2011-06-03 updated README for asset pipeline with ie6 & 7 css
109 <!--[if IE 6]><%= stylesheet_link_tag 'formtastic_ie6' %><![endif]-->
110 <!--[if IE 7]><%= stylesheet_link_tag 'formtastic_ie7' %><![endif]-->
4f4b069f »
2011-05-31 Rails 3.1 Asset Pipeline compatibility (Fixes #563)
111 </pre>
112
113 h3. Stylesheet usage in Rails >= 3.1:
114
28754a29 »
2011-06-03 updated README for asset pipeline with ie6 & 7 css
115 Rails 3.1 introduces an asset pipeline that allows plugins like Formtastic to serve their own Stylesheets, Javascripts, etc without having to run generators that copy them accross to the host application. Formtastic makes three stylesheets available as an Engine, you just need to require them in your global stylesheets.
c89e9853 »
2009-03-08 updating README with gem/plugin installation instructions
116
5c1ce48a »
2009-10-21 moved the stylesheets stuff up with installation
117 <pre>
4f4b069f »
2011-05-31 Rails 3.1 Asset Pipeline compatibility (Fixes #563)
118 # app/assets/stylesheets/application.css
119 *= require formtastic
28754a29 »
2011-06-03 updated README for asset pipeline with ie6 & 7 css
120 *= require my_formtastic_changes
121
122 # app/assets/stylesheets/ie6.css
123 *= require formtastic_ie6
124
125 # app/assets/stylesheets/ie7.css
126 *= require formtastic_ie7
5c1ce48a »
2009-10-21 moved the stylesheets stuff up with installation
127 </pre>
2526d2c1 »
2009-10-11 Going back to generators instead of Rake tasks for copying stylesheet…
128
28754a29 »
2011-06-03 updated README for asset pipeline with ie6 & 7 css
129 <pre>
130 # app/views/layouts/application.html.erb
131 <%= stylesheet_link_tag 'application' %>
132 <!--[if IE 6]><%= stylesheet_link_tag 'ie6' %><![endif]-->
133 <!--[if IE 7]><%= stylesheet_link_tag 'ie7' %><![endif]-->
134 </pre>
135
136
4036e741 »
2010-07-21 pruning and cleaning up the README, it's been a while
137
9af5cc8c »
2009-02-28 Big update and re-organization of the README:
138 h2. Usage
139
140 Forms are really boring to code... you want to get onto the good stuff as fast as possible.
141
66888879 » grimen
2009-10-25 More README-polishing.
142 This renders a set of inputs (one for _most_ columns in the database table, and one for each ActiveRecord @belongs_to@-association), followed by a submit button:
9af5cc8c »
2009-02-28 Big update and re-organization of the README:
143
144 <pre>
bc5603ba »
2011-05-17 convert <% ... do %> to <%= ... do %> in README
145 <%= semantic_form_for @user do |form| %>
9af5cc8c »
2009-02-28 Big update and re-organization of the README:
146 <%= form.inputs %>
147 <%= form.buttons %>
148 <% end %>
149 </pre>
150
bdbe30ba »
2011-09-23 a few README clean-ups for 2.0
151 This is a great way to get something up fast, but like scaffolding, it's *not recommended for production*. Don't be so lazy!
5018ed04 »
2010-11-05 clarified the differences in Rails 2 and 3 ERB blocks, and some other…
152
bdbe30ba »
2011-09-23 a few README clean-ups for 2.0
153 To specify the order of the fields, skip some of the fields or even add in fields that Formtastic couldn't infer. You can pass in a list of field names to @inputs@ and list of button names to @buttons@:
9af5cc8c »
2009-02-28 Big update and re-organization of the README:
154
155 <pre>
bc5603ba »
2011-05-17 convert <% ... do %> to <%= ... do %> in README
156 <%= semantic_form_for @user do |form| %>
9af5cc8c »
2009-02-28 Big update and re-organization of the README:
157 <%= form.inputs :title, :body, :section, :categories, :created_at %>
158 <%= form.buttons :commit %>
159 <% end %>
160 </pre>
161
bdbe30ba »
2011-09-23 a few README clean-ups for 2.0
162 You probably want control over the input type Formtastic uses for each field. You can expand the @inputs@ and @buttons@ to block helper format and use the @:as@ option to specify an exact input type:
9af5cc8c »
2009-02-28 Big update and re-organization of the README:
163
164 <pre>
bc5603ba »
2011-05-17 convert <% ... do %> to <%= ... do %> in README
165 <%= semantic_form_for @post do |form| %>
166 <%= form.inputs do %>
9af5cc8c »
2009-02-28 Big update and re-organization of the README:
167 <%= form.input :title %>
168 <%= form.input :body %>
169 <%= form.input :section, :as => :radio %>
170 <%= form.input :categories %>
171 <%= form.input :created_at, :as => :string %>
172 <% end %>
bc5603ba »
2011-05-17 convert <% ... do %> to <%= ... do %> in README
173 <%= form.buttons do %>
9af5cc8c »
2009-02-28 Big update and re-organization of the README:
174 <%= form.commit_button %>
175 <% end %>
176 <% end %>
177 </pre>
178
a45853c5 »
2009-04-19 small README typo
179 If you want to customize the label text, or render some hint text below the field, specify which fields are required/optional, or break the form into two fieldsets, the DSL is pretty comprehensive:
9af5cc8c »
2009-02-28 Big update and re-organization of the README:
180
181 <pre>
bc5603ba »
2011-05-17 convert <% ... do %> to <%= ... do %> in README
182 <%= semantic_form_for @post do |form| %>
183 <%= form.inputs "Basic", :id => "basic" do %>
9af5cc8c »
2009-02-28 Big update and re-organization of the README:
184 <%= form.input :title %>
185 <%= form.input :body %>
186 <% end %>
bc5603ba »
2011-05-17 convert <% ... do %> to <%= ... do %> in README
187 <%= form.inputs :name => "Advanced Options", :id => "advanced" do %>
9af5cc8c »
2009-02-28 Big update and re-organization of the README:
188 <%= form.input :slug, :label => "URL Title", :hint => "Created automatically if left blank", :required => false %>
189 <%= form.input :section, :as => :radio %>
8d4d9edc »
2011-05-05 Renamed (with backwards compatibility) and deprecation notices) :labe…
190 <%= form.input :user, :label => "Author", :member_label => :full_name %>
9af5cc8c »
2009-02-28 Big update and re-organization of the README:
191 <%= form.input :categories, :required => false %>
192 <%= form.input :created_at, :as => :string, :label => "Publication Date", :required => false %>
193 <% end %>
bc5603ba »
2011-05-17 convert <% ... do %> to <%= ... do %> in README
194 <%= form.buttons do %>
9af5cc8c »
2009-02-28 Big update and re-organization of the README:
195 <%= form.commit_button %>
196 <% end %>
197 <% end %>
198 </pre>
199
4033f270 » nathanl
2010-11-11 Small addition to documentation
200 You can create forms for nested resources:
201
202 <pre>
bc5603ba »
2011-05-17 convert <% ... do %> to <%= ... do %> in README
203 <%= semantic_form_for [@author, @post] do |form| %>
4033f270 » nathanl
2010-11-11 Small addition to documentation
204 </pre>
205
bcd3ba9a »
2010-10-26 some README updates
206 Nested forms are also supported (don't forget your models need to be setup correctly with @accepts_nested_attributes_for@). You can do it in the Rails way:
9af5cc8c »
2009-02-28 Big update and re-organization of the README:
207
208 <pre>
bc5603ba »
2011-05-17 convert <% ... do %> to <%= ... do %> in README
209 <%= semantic_form_for @post do |form| %>
05ae54da » josevalim
2009-03-22 Fixed nested attributes example in README
210 <%= form.inputs :title, :body, :created_at %>
90c6e298 »
2011-06-07 Revert "use real objects in :for and fields_for examples"
211 <%= form.semantic_fields_for :author do |author| %>
1fcc0681 » grimen
2009-10-25 An effort to make the README somewhat more readable.
212 <%= author.inputs :first_name, :last_name, :name => "Author" %>
41a67543 » josevalim
2009-03-24 Another README fix.
213 <% end %>
05ae54da » josevalim
2009-03-22 Fixed nested attributes example in README
214 <%= form.buttons %>
9997ce62 » josevalim
2009-03-07 Added more information about inputs :for in README.
215 <% end %>
216 </pre>
217
6fd1bd27 »
2009-04-19 improving the documentation in README
218 Or the Formtastic way with the @:for@ option:
9997ce62 » josevalim
2009-03-07 Added more information about inputs :for in README.
219
220 <pre>
bc5603ba »
2011-05-17 convert <% ... do %> to <%= ... do %> in README
221 <%= semantic_form_for @post do |form| %>
05ae54da » josevalim
2009-03-22 Fixed nested attributes example in README
222 <%= form.inputs :title, :body, :created_at %>
90c6e298 »
2011-06-07 Revert "use real objects in :for and fields_for examples"
223 <%= form.inputs :first_name, :last_name, :for => :author, :name => "Author" %>
05ae54da » josevalim
2009-03-22 Fixed nested attributes example in README
224 <%= form.buttons %>
9af5cc8c »
2009-02-28 Big update and re-organization of the README:
225 <% end %>
226 </pre>
227
64d55a84 » nathanl
2011-09-26 Improve grammar, capitalization, formatting
228 When working in has many association, you can even supply @"%i"@ in your fieldset name; they will be properly interpolated with the child index. For example:
d5e3b0a0 » josevalim
2009-03-24 Added nested child nindex support.
229
230 <pre>
bc5603ba »
2011-05-17 convert <% ... do %> to <%= ... do %> in README
231 <%= semantic_form_for @post do |form| %>
d5e3b0a0 » josevalim
2009-03-24 Added nested child nindex support.
232 <%= form.inputs %>
90c6e298 »
2011-06-07 Revert "use real objects in :for and fields_for examples"
233 <%= form.inputs :name => 'Category #%i', :for => :categories %>
d5e3b0a0 » josevalim
2009-03-24 Added nested child nindex support.
234 <%= form.buttons %>
235 <% end %>
236 </pre>
237
64d55a84 » nathanl
2011-09-26 Improve grammar, capitalization, formatting
238 If you have more than one form on the same page, it may lead to HTML invalidation because of the way HTML element id attributes are assigned. You can provide a namespace for your form to ensure uniqueness of id attributes on form elements. The namespace attribute will be prefixed with underscore on the generate HTML id. For example:
d174db04 » asanghi
2010-10-24 change id_prefix to namespace; added documentation in README
239
240 <pre>
bc5603ba »
2011-05-17 convert <% ... do %> to <%= ... do %> in README
241 <%= semantic_form_for(@post, :namespace => 'cat_form') do |form| %>
242 <%= form.input :title %> # id="cat_form_post_title"
243 <%= form.input :body %> # id="cat_form_post_body"
244 <%= form.input :created_at %> # id="cat_form_post_created_at"
245 <%= form.buttons %>
d174db04 » asanghi
2010-10-24 change id_prefix to namespace; added documentation in README
246 <% end %>
247 </pre>
6fd1bd27 »
2009-04-19 improving the documentation in README
248
64d55a84 » nathanl
2011-09-26 Improve grammar, capitalization, formatting
249 Customize HTML attributes for any input using the @:input_html@ option. Typically this is used to disable the input, change the size of a text field, change the rows in a textarea, or even to add a special class to an input to attach special behavior like "autogrow":http://plugins.jquery.com/project/autogrowtextarea textareas:
6fd1bd27 »
2009-04-19 improving the documentation in README
250
251 <pre>
bc5603ba »
2011-05-17 convert <% ... do %> to <%= ... do %> in README
252 <%= semantic_form_for @post do |form| %>
a9889c56 » victorbstan
2011-02-03 defined :rows => 10, :cols => 20, :maxlength => 10 options in example…
253 <%= form.input :title, :input_html => { :cols => 10 } %>
254 <%= form.input :body, :input_html => { :class => 'autogrow', :rows => 10, :cols => 20, :maxlength => 10 } %>
6fd1bd27 »
2009-04-19 improving the documentation in README
255 <%= form.input :created_at, :input_html => { :disabled => true } %>
256 <%= form.buttons %>
257 <% end %>
258 </pre>
259
260 The same can be done for buttons with the @:button_html@ option:
261
262 <pre>
bc5603ba »
2011-05-17 convert <% ... do %> to <%= ... do %> in README
263 <%= semantic_form_for @post do |form| %>
6fd1bd27 »
2009-04-19 improving the documentation in README
264 ...
bc5603ba »
2011-05-17 convert <% ... do %> to <%= ... do %> in README
265 <%= form.buttons do %>
7e465098 »
2011-05-05 documented :disable_with, fixes #466
266 <%= form.commit_button :button_html => { :class => "primary", :disable_with => 'Wait...' } %>
6fd1bd27 »
2009-04-19 improving the documentation in README
267 <% end %>
268 <% end %>
269 </pre>
270
64d55a84 » nathanl
2011-09-26 Improve grammar, capitalization, formatting
271 Customize the HTML attributes for the @<li>@ wrapper around every input with the @:wrapper_html@ option hash. There's one special key in the hash: (@:class@), which will actually _append_ your string of classes to the existing classes provided by Formtastic (like @"required string error"@).
1fcc0681 » grimen
2009-10-25 An effort to make the README somewhat more readable.
272
6fd1bd27 »
2009-04-19 improving the documentation in README
273 <pre>
bc5603ba »
2011-05-17 convert <% ... do %> to <%= ... do %> in README
274 <%= semantic_form_for @post do |form| %>
6fd1bd27 »
2009-04-19 improving the documentation in README
275 <%= form.input :title, :wrapper_html => { :class => "important" } %>
276 <%= form.input :body %>
277 <%= form.input :description, :wrapper_html => { :style => "display:none;" } %>
278 ...
279 <% end %>
280 </pre>
281
64d55a84 » nathanl
2011-09-26 Improve grammar, capitalization, formatting
282 Customize the default class used for hints on each attribute or globally in the @config/formtastic.rb@ file. Similarly, you can customize the error classes on an attribute level or globally.
d174db04 » asanghi
2010-10-24 change id_prefix to namespace; added documentation in README
283
284 <pre>
bc5603ba »
2011-05-17 convert <% ... do %> to <%= ... do %> in README
285 <%= semantic_form_for @post do |form| %>
d174db04 » asanghi
2010-10-24 change id_prefix to namespace; added documentation in README
286 <%= form.input :title, :hint_class => 'custom-html-class', :error_class => 'custom-error-class' %>
287 <% end %>
288 </pre>
289
a92cf7cb »
2010-03-13 added documentation for :collection option, resolves #181
290 Many inputs provide a collection of options to choose from (like @:select@, @:radio@, @:check_boxes@, @:boolean@). In many cases, Formtastic can find choices through the model associations, but if you want to use your own set of choices, the @:collection@ option is what you want. You can pass in an Array of objects, an array of Strings, a Hash... Throw almost anything at it! Examples:
291
292 <pre>
293 f.input :authors, :as => :check_boxes, :collection => User.find(:all, :order => "last_name ASC")
294 f.input :authors, :as => :check_boxes, :collection => current_user.company.users.active
295 f.input :authors, :as => :check_boxes, :collection => [@justin, @kate]
296 f.input :authors, :as => :check_boxes, :collection => ["Justin", "Kate", "Amelia", "Gus", "Meg"]
297 f.input :author, :as => :select, :collection => Author.find(:all)
298 f.input :author, :as => :select, :collection => { @justin.name => @justin.id, @kate.name => @kate.id }
299 f.input :author, :as => :select, :collection => ["Justin", "Kate", "Amelia", "Gus", "Meg"]
300 f.input :author, :as => :radio, :collection => User.find(:all)
301 f.input :author, :as => :radio, :collection => [@justin, @kate]
302 f.input :author, :as => :radio, :collection => { @justin.name => @justin.id, @kate.name => @kate.id }
303 f.input :author, :as => :radio, :collection => ["Justin", "Kate", "Amelia", "Gus", "Meg"]
304 f.input :admin, :as => :radio, :collection => ["Yes!", "No"]
305 </pre>
306
6fd1bd27 »
2009-04-19 improving the documentation in README
307
5a394436 »
2008-06-28 bulking up the documentation and readme with the different inputs ava…
308 h2. The Available Inputs
309
d9a06fe5 » grimen
2009-10-25 README: Last set of polishing moves for now.
310 The Formtastic input types:
311
8577c184 » grimen
2009-10-25 More README-readability polishing.
312 * @:select@ - a select menu. Default for ActiveRecord associations: @belongs_to@, @has_many@, and @has_and_belongs_to_many@.
313 * @:check_boxes@ - a set of check_box inputs. Alternative to @:select@ for ActiveRecord-associations: @has_many@, and @has_and_belongs_to_many@.
314 * @:radio@ - a set of radio inputs. Alternative to @:select@ for ActiveRecord-associations: @belongs_to@.
315 * @:time_zone@ - a select input. Default for column types: @:string@ with name matching @"time_zone"@.
316 * @:password@ - a password input. Default for column types: @:string@ with name matching @"password"@.
317 * @:text@ - a textarea. Default for column types: @:text@.
318 * @:date@ - a date select. Default for column types: @:date@.
319 * @:datetime@ - a date and time select. Default for column types: @:datetime@ and @:timestamp@.
320 * @:time@ - a time select. Default for column types: @:time@.
321 * @:boolean@ - a checkbox. Default for column types: @:boolean@.
322 * @:string@ - a text field. Default for column types: @:string@.
a33f4d0b »
2011-04-05 renamed NumericInput (:as => :numeric) to NumberInput (:as => :number)
323 * @:number@ - a text field (just like string). Default for column types: @:integer@, @:float@, and @:decimal@.
8577c184 » grimen
2009-10-25 More README-readability polishing.
324 * @:file@ - a file field. Default for file-attachment attributes matching: "paperclip":http://github.com/thoughtbot/paperclip or "attachment_fu":http://github.com/technoweenie/attachment_fu.
325 * @:country@ - a select menu of country names. Default for column types: :string with name @"country"@ - requires a *country_select* plugin to be installed.
e0a78747 » asanghi
2010-10-10 Added auto-guessing and updated some docs
326 * @:email@ - a text field (just like string). Default for columns with name matching @"email"@. New in HTML5. Works on some mobile browsers already.
327 * @:url@ - a text field (just like string). Default for columns with name matching @"url"@. New in HTML5. Works on some mobile browsers already.
328 * @:phone@ - a text field (just like string). Default for columns with name matching @"phone"@ or @"fax"@. New in HTML5.
329 * @:search@ - a text field (just like string). Default for columns with name matching @"search"@. New in HTML5. Works on Safari.
66888879 » grimen
2009-10-25 More README-polishing.
330 * @:hidden@ - a hidden field. Creates a hidden field (added for compatibility).
d877b6b8 »
2011-04-06 Merge branch 'refactor' of https://github.com/okonski/formtastic into…
331 * @:range@ - a slider field.
66888879 » grimen
2009-10-25 More README-polishing.
332
fd23ef4f »
2010-03-13 tiny README tweak
333 The comments in the code are pretty good for each of these (what it does, what the output is, what the options are, etc.) so go check it out.
334
5a394436 »
2008-06-28 bulking up the documentation and readme with the different inputs ava…
335
06ff25d8 » lardawge
2009-12-10 Added section clarifying label lookup order.
336 h2. Delegation for label lookups
337
338 Formtastic decides which label to use in the following order:
339
340 <pre>
341 1. :label # :label => "Choose Title"
342 2. Formtastic i18n # if either :label => true || i18n_lookups_by_default = true (see Internationalization)
343 3. Activerecord i18n # if localization file found for the given attribute
344 4. label_str_method # if nothing provided this defaults to :humanize but can be set to a custom method
345 </pre>
346
94ce3eca » grimen
2009-08-03 Documentation for the new I18n features for labels/hints.
347 h2. Internationalization (I18n)
348
49a18a52 » grimen
2009-10-25 README-update: I18n instructions are better structured, and easier to…
349 h3. Basic Localization
71ef99fd »
2009-10-21 nuked the configuration copy/paste from the README, linked to the gen…
350
64d55a84 » nathanl
2011-09-26 Improve grammar, capitalization, formatting
351 Formtastic has some neat I18n-features. ActiveRecord object names and attributes are, by default, taken from calling @@object.human_name@ and @@object.human_attribute_name(attr)@ respectively. There are a few words specific to Formtastic that can be translated. See @lib/locale/en.yml@ for more information.
94ce3eca » grimen
2009-08-03 Documentation for the new I18n features for labels/hints.
352
75782e15 » grimen
2009-09-16 Updated I18n-instructions in README; on the I18n-support for fieldset…
353 Basic localization (labels only, with ActiveRecord):
94ce3eca » grimen
2009-08-03 Documentation for the new I18n features for labels/hints.
354
355 <pre>
bc5603ba »
2011-05-17 convert <% ... do %> to <%= ... do %> in README
356 <%= semantic_form_for @post do |form| %>
94ce3eca » grimen
2009-08-03 Documentation for the new I18n features for labels/hints.
357 <%= form.input :title %> # => :label => I18n.t('activerecord.attributes.user.title') or 'Title'
358 <%= form.input :body %> # => :label => I18n.t('activerecord.attributes.user.body') or 'Body'
359 <%= form.input :section %> # => :label => I18n.t('activerecord.attributes.user.section') or 'Section'
360 <% end %>
361 </pre>
362
49a18a52 » grimen
2009-10-25 README-update: I18n instructions are better structured, and easier to…
363 *Note:* This is perfectly fine if you just want your labels/attributes and/or models to be translated using *ActiveRecord I18n attribute translations*, and you don't use input hints and legends. But what if you do? And what if you don't want same labels in all forms?
364
365 h3. Enhanced Localization (Formtastic I18n API)
94ce3eca » grimen
2009-08-03 Documentation for the new I18n features for labels/hints.
366
d9a06fe5 » grimen
2009-10-25 README: Last set of polishing moves for now.
367 Formtastic supports localized *labels*, *hints*, *legends*, *actions* using the I18n API for more advanced usage. Your forms can now be DRYer and more flexible than ever, and still fully localized. This is how:
94ce3eca » grimen
2009-08-03 Documentation for the new I18n features for labels/hints.
368
49a18a52 » grimen
2009-10-25 README-update: I18n instructions are better structured, and easier to…
369 *1. Enable I18n lookups by default (@config/initializers/formtastic.rb@):*
94ce3eca » grimen
2009-08-03 Documentation for the new I18n features for labels/hints.
370
371 <pre>
549ef7a7 »
2011-01-18 Renamed all instances of Formtastic::SemanticFormBuilder to Formtasti…
372 Formtastic::FormBuilder.i18n_lookups_by_default = true
94ce3eca » grimen
2009-08-03 Documentation for the new I18n features for labels/hints.
373 </pre>
374
49a18a52 » grimen
2009-10-25 README-update: I18n instructions are better structured, and easier to…
375 *2. Add some cool label-translations/variants (@config/locale/en.yml@):*
94ce3eca » grimen
2009-08-03 Documentation for the new I18n features for labels/hints.
376
377 <pre>
378 en:
379 formtastic:
75782e15 » grimen
2009-09-16 Updated I18n-instructions in README; on the I18n-support for fieldset…
380 titles:
381 post_details: "Post details"
94ce3eca » grimen
2009-08-03 Documentation for the new I18n features for labels/hints.
382 labels:
383 post:
13164f7f »
2011-04-05 Allow HTML5 placeholder attributes to be set on String-ish inputs (st…
384 title: "Your Title"
94ce3eca » grimen
2009-08-03 Documentation for the new I18n features for labels/hints.
385 body: "Write something..."
75782e15 » grimen
2009-09-16 Updated I18n-instructions in README; on the I18n-support for fieldset…
386 edit:
387 title: "Edit title"
94ce3eca » grimen
2009-08-03 Documentation for the new I18n features for labels/hints.
388 hints:
389 post:
64d55a84 » nathanl
2011-09-26 Improve grammar, capitalization, formatting
390 title: "Choose a good title for your post."
94ce3eca » grimen
2009-08-03 Documentation for the new I18n features for labels/hints.
391 body: "Write something inspiring here."
13164f7f »
2011-04-05 Allow HTML5 placeholder attributes to be set on String-ish inputs (st…
392 placeholders:
393 post:
394 title: "Title your post"
395 slug: "Leave blank for an automatically generated slug"
396 user:
397 email: "you@yours.com"
4aca8cd4 » grimen
2009-10-24 New I18n-features:
398 actions:
743b26b9 » yabawock
2010-05-29 Revert "Reverting two i18n patches pulled in from the rails3 branch w…
399 create: "Create my %{model}"
4aca8cd4 » grimen
2009-10-24 New I18n-features:
400 update: "Save changes"
401 dummie: "Launch!"
94ce3eca » grimen
2009-08-03 Documentation for the new I18n features for labels/hints.
402 </pre>
403
49a18a52 » grimen
2009-10-25 README-update: I18n instructions are better structured, and easier to…
404 *3. ...and now you'll get:*
94ce3eca » grimen
2009-08-03 Documentation for the new I18n features for labels/hints.
405
406 <pre>
bc5603ba »
2011-05-17 convert <% ... do %> to <%= ... do %> in README
407 <%= semantic_form_for Post.new do |form| %>
408 <%= form.inputs do %>
64d55a84 » nathanl
2011-09-26 Improve grammar, capitalization, formatting
409 <%= form.input :title %> # => :label => "Choose a title...", :hint => "Choose a good title for your post."
75782e15 » grimen
2009-09-16 Updated I18n-instructions in README; on the I18n-support for fieldset…
410 <%= form.input :body %> # => :label => "Write something...", :hint => "Write something inspiring here."
411 <%= form.input :section %> # => :label => I18n.t('activerecord.attributes.user.section') or 'Section'
412 <% end %>
bc5603ba »
2011-05-17 convert <% ... do %> to <%= ... do %> in README
413 <%= form.buttons do %>
743b26b9 » yabawock
2010-05-29 Revert "Reverting two i18n patches pulled in from the rails3 branch w…
414 <%= form.commit_button %> # => "Create my %{model}"
4aca8cd4 » grimen
2009-10-24 New I18n-features:
415 <% end %>
94ce3eca » grimen
2009-08-03 Documentation for the new I18n features for labels/hints.
416 <% end %>
417 </pre>
418
49a18a52 » grimen
2009-10-25 README-update: I18n instructions are better structured, and easier to…
419 *4. Localized titles (a.k.a. legends):*
75782e15 » grimen
2009-09-16 Updated I18n-instructions in README; on the I18n-support for fieldset…
420
17f66680 »
2009-11-21 Revert "This reverts commit 440bd2d."
421 _Note: Slightly different because Formtastic can't guess how you group fields in a form. Legend text can be set with first (as in the sample below) specified value, or :name/:title options - depending on what flavor is preferred._
75782e15 » grimen
2009-09-16 Updated I18n-instructions in README; on the I18n-support for fieldset…
422
423 <pre>
bc5603ba »
2011-05-17 convert <% ... do %> to <%= ... do %> in README
424 <%= semantic_form_for @post do |form| %>
425 <%= form.inputs :post_details do %> # => :title => "Post details"
75782e15 » grimen
2009-09-16 Updated I18n-instructions in README; on the I18n-support for fieldset…
426 # ...
427 <% end %>
428 # ...
429 <% end %>
430 </pre>
431
49a18a52 » grimen
2009-10-25 README-update: I18n instructions are better structured, and easier to…
432 *5. Override I18n settings:*
94ce3eca » grimen
2009-08-03 Documentation for the new I18n features for labels/hints.
433
434 <pre>
bc5603ba »
2011-05-17 convert <% ... do %> to <%= ... do %> in README
435 <%= semantic_form_for @post do |form| %>
436 <%= form.inputs do %>
75782e15 » grimen
2009-09-16 Updated I18n-instructions in README; on the I18n-support for fieldset…
437 <%= form.input :title %> # => :label => "Choose a title...", :hint => "Choose a good title for you post."
438 <%= form.input :body, :hint => false %> # => :label => "Write something..."
439 <%= form.input :section, :label => 'Some section' %> # => :label => 'Some section'
440 <% end %>
bc5603ba »
2011-05-17 convert <% ... do %> to <%= ... do %> in README
441 <%= form.buttons do %>
4aca8cd4 » grimen
2009-10-24 New I18n-features:
442 <%= form.commit_button :dummie %> # => "Launch!"
443 <% end %>
94ce3eca » grimen
2009-08-03 Documentation for the new I18n features for labels/hints.
444 <% end %>
445 </pre>
446
447 If I18n-lookups is disabled, i.e.:
448
449 <pre>
549ef7a7 »
2011-01-18 Renamed all instances of Formtastic::SemanticFormBuilder to Formtasti…
450 Formtastic::FormBuilder.i18n_lookups_by_default = false
94ce3eca » grimen
2009-08-03 Documentation for the new I18n features for labels/hints.
451 </pre>
452
453 ...then you can enable I18n within the forms instead:
454
455 <pre>
bc5603ba »
2011-05-17 convert <% ... do %> to <%= ... do %> in README
456 <%= semantic_form_for @post do |form| %>
457 <%= form.inputs do %>
75782e15 » grimen
2009-09-16 Updated I18n-instructions in README; on the I18n-support for fieldset…
458 <%= form.input :title, :label => true %> # => :label => "Choose a title..."
459 <%= form.input :body, :label => true %> # => :label => "Write something..."
460 <%= form.input :section, :label => true %> # => :label => I18n.t('activerecord.attributes.user.section') or 'Section'
461 <% end %>
bc5603ba »
2011-05-17 convert <% ... do %> to <%= ... do %> in README
462 <%= form.buttons do %>
4b1ba5f4 » dbackeus
2010-11-05 Updated expected commit_button text in README.
463 <%= form.commit_button true %> # => "Update %{model}" (if we are in edit that is...)
4aca8cd4 » grimen
2009-10-24 New I18n-features:
464 <% end %>
94ce3eca » grimen
2009-08-03 Documentation for the new I18n features for labels/hints.
465 <% end %>
466 </pre>
467
49a18a52 » grimen
2009-10-25 README-update: I18n instructions are better structured, and easier to…
468 *6. Advanced I18n lookups*
94ce3eca » grimen
2009-08-03 Documentation for the new I18n features for labels/hints.
469
64d55a84 » nathanl
2011-09-26 Improve grammar, capitalization, formatting
470 For more flexible forms; Formtastic finds translations using a bottom-up approach taking the following variables in account:
94ce3eca » grimen
2009-08-03 Documentation for the new I18n features for labels/hints.
471
75782e15 » grimen
2009-09-16 Updated I18n-instructions in README; on the I18n-support for fieldset…
472 * @MODEL@, e.g. "post"
473 * @ACTION@, e.g. "edit"
4aca8cd4 » grimen
2009-10-24 New I18n-features:
474 * @KEY/ATTRIBUTE@, e.g. "title", :my_custom_key, ...
94ce3eca » grimen
2009-08-03 Documentation for the new I18n features for labels/hints.
475
476 ...in the following order:
477
66888879 » grimen
2009-10-25 More README-polishing.
478 1. @formtastic.{titles,labels,hints,actions}.MODEL.ACTION.ATTRIBUTE@ - by model and action
479 2. @formtastic.{titles,labels,hints,actions}.MODEL.ATTRIBUTE@ - by model
480 3. @formtastic.{titles,labels,hints,actions}.ATTRIBUTE@ - global default
94ce3eca » grimen
2009-08-03 Documentation for the new I18n features for labels/hints.
481
482 ...which means that you can define translations like this:
483
484 <pre>
485 en:
486 formtastic:
487 labels:
488 title: "Title" # Default global value
489 article:
490 body: "Article content"
491 post:
492 new:
493 title: "Choose a title..."
494 body: "Write something..."
495 edit:
496 title: "Edit title"
497 body: "Edit body"
498 </pre>
499
4aca8cd4 » grimen
2009-10-24 New I18n-features:
500 Values for @labels@/@hints@/@actions@ are can take values: @String@ (explicit value), @Symbol@ (i18n-lookup-key relative to the current "type", e.g. actions:), @true@ (force I18n lookup), @false@ (force no I18n lookup). Titles (legends) can only take: @String@ and @Symbol@ - true/false have no meaning.
75782e15 » grimen
2009-09-16 Updated I18n-instructions in README; on the I18n-support for fieldset…
501
71ef99fd »
2009-10-21 nuked the configuration copy/paste from the README, linked to the gen…
502
c4ebcefd » Wojciech Wnętrzak
2009-12-03 * added semantic_errors method with specs
503 h2. Semantic errors
504
505 You can show errors on base (by default) and any other attribute just passing it name to semantic_errors method:
506
507 <pre>
bc5603ba »
2011-05-17 convert <% ... do %> to <%= ... do %> in README
508 <%= semantic_form_for @post do |form| %>
c4ebcefd » Wojciech Wnętrzak
2009-12-03 * added semantic_errors method with specs
509 <%= form.semantic_errors :state %>
510 <% end %>
511 </pre>
512
513
7687bf76 »
2011-04-04 Added support for modified and custom inputs in app/inputs/.
514 h2. Modified & Custom Inputs
ce7da5e9 »
2009-11-10 added the builder config to the config template and quick documentati…
515
7687bf76 »
2011-04-04 Added support for modified and custom inputs in app/inputs/.
516 If you want to change the behaviour of an input, you can subclass it in your app. For example, to tweak @StringInput@, create a new file @app/inputs/string_input.rb@:
ce7da5e9 »
2009-11-10 added the builder config to the config template and quick documentati…
517
7687bf76 »
2011-04-04 Added support for modified and custom inputs in app/inputs/.
518 <pre>
519 class StringInput < Formtastic::Inputs::StringInput
520 def to_html
521 puts "this is my modified version of StringInput"
522 super
523 end
524 end
525 </pre>
ce7da5e9 »
2009-11-10 added the builder config to the config template and quick documentati…
526
7687bf76 »
2011-04-04 Added support for modified and custom inputs in app/inputs/.
527 To create your own new types of inputs based on existing inputs, the process is similar:
ce7da5e9 »
2009-11-10 added the builder config to the config template and quick documentati…
528
28bb57f3 » paneq
2010-11-02 Resolves http://github.com/justinfrench/formtastic/issues/#issue/409
529 <pre>
7687bf76 »
2011-04-04 Added support for modified and custom inputs in app/inputs/.
530 # f.input(:body, :as => :flexible_text)
d57c0548 » robinst
2011-06-02 README: Fix mention of inexistent StringTextInput
531 class FlexibleTextInput < Formtastic::Inputs::StringInput
7687bf76 »
2011-04-04 Added support for modified and custom inputs in app/inputs/.
532 def input_html_options
533 super.merge(:class => "flexible-text-area")
534 end
535 end
28bb57f3 » paneq
2010-11-02 Resolves http://github.com/justinfrench/formtastic/issues/#issue/409
536 </pre>
3f58f3a5 »
2009-12-03 README update for --controller option form generator
537
7687bf76 »
2011-04-04 Added support for modified and custom inputs in app/inputs/.
538 To create your own new types of inputs from scratch:
539
540 <pre>
541 # f.input(:created_at, :as => :date_picker)
34d6e16b » robinst
2011-06-02 README: Fix custom input example about DatePicker
542 class DatePickerInput
543 include Formtastic::Inputs::Base
544 def to_html
545 # ...
7687bf76 »
2011-04-04 Added support for modified and custom inputs in app/inputs/.
546 end
547 end
548 </pre>
549
22a9af1c »
2011-09-02 prep README for 2.0
550 It was previously recommended in Formtastic 1.x to subclass Formtastic::FormBuilder to add your own inputs. This is no longer recommended in Formtastic 2, and will not work as expected.
7687bf76 »
2011-04-04 Added support for modified and custom inputs in app/inputs/.
551
5f3d7a61 »
2010-09-21 updated the generator docs in README to reflect both Rails 3 and 2
552
2d2d8131 » yabawock
2010-07-12 More intelligent way to html_escape labels and hints (GH-299)
553 h2. Security
ce7da5e9 »
2009-11-10 added the builder config to the config template and quick documentati…
554
64d55a84 » nathanl
2011-09-26 Improve grammar, capitalization, formatting
555 By default, Formtastic escapes HTML entities in both labels and hints unless a string is marked as html_safe. If you are using an older rails version which doesn't know html_safe, or you want to globally turn this feature off, you can set the following in your initializer:
2d2d8131 » yabawock
2010-07-12 More intelligent way to html_escape labels and hints (GH-299)
556
549ef7a7 »
2011-01-18 Renamed all instances of Formtastic::SemanticFormBuilder to Formtasti…
557 Formtastic::FormBuilder.escape_html_entities_in_hints_and_labels = false
3f58f3a5 »
2009-12-03 README update for --controller option form generator
558
559
9af5cc8c »
2009-02-28 Big update and re-organization of the README:
560 h2. Dependencies
dcf8bebb » Justin French
2008-04-07 Initial Commit
561
9af5cc8c »
2009-02-28 Big update and re-organization of the README:
562 There are none, but...
dcf8bebb » Justin French
2008-04-07 Initial Commit
563
64d55a84 » nathanl
2011-09-26 Improve grammar, capitalization, formatting
564 * If you want to use the @:country@ input, you'll need to install the "country-select plugin":https://github.com/chrislerum/country_select (or any other country_select plugin with the same API).
1fcc0681 » grimen
2009-10-25 An effort to make the README somewhat more readable.
565 * "rspec":http://github.com/dchelimsky/rspec/, "rspec_hpricot_matchers":http://rubyforge.org/projects/rspec-hpricot/ and "rcov":http://github.com/relevance/rcov gems (plus any of their own dependencies) are required for the test suite.
dcf8bebb » Justin French
2008-04-07 Initial Commit
566
0b370bae »
2009-01-06 Renamed input_field_set() to just inputs() and added a shorthand vers…
567
2079c593 »
2010-01-02 added a section about contributing to README
568 h2. How to contribute
569
533c086f »
2010-11-28 added a section to the README on getting a dev environment up and run…
570 Please ensure that you provide appropriate spec/test coverage and ensure the documentation is up-to-date. Bonus points if you perform your changes in a clean topic branch rather than master, and if you create a pull request for your changes to be discussed and reviewed.
2079c593 »
2010-01-02 added a section about contributing to README
571
572 Please also keep your commits *atomic* so that they are more likely to apply cleanly. That means that each commit should contain the smallest possible logical change. Don't commit two features at once, don't update the gemspec at the same time you add a feature, don't fix a whole bunch of whitespace in a file at the same time you change a few lines, etc, etc.
573
574 For significant changes, you may wish to discuss your idea on the Formtastic Google group before coding to ensure that your change is likely to be accepted. Formtastic relies heavily on i18n, so if you're unsure of the impact this has on your changes, please discuss them with the group.
575
533c086f »
2010-11-28 added a section to the README on getting a dev environment up and run…
576 See below for installation of a development environment.
577
578
90282e3f »
2010-11-09 added twitter account to the readme
579 h2. Google Group, Twitter, etc
5af03110 »
2009-04-02 updated the README to pimp the google group more
580
581 Please join the "Formtastic Google Group":http://groups.google.com.au/group/formtastic, especially if you'd like to talk about a new feature, or report a bug.
582
90282e3f »
2010-11-09 added twitter account to the readme
583 You can also "follow @formtastic on Twitter":http://twitter.com/formtastic for announcements, tutorials and awesome Formtastic links.
584
ba3ce055 »
2008-06-27 updated the README a little with contributors and some other busy work
585 h2. Project Info
586
eff38a1b »
2011-05-27 too hard to maintain the maintainers
587 Formtastic was created by "Justin French":http://www.justinfrench.com with contributions from over 100 awesome developers.
588
589 Run @git shortlog -n -s@ to see the awesome.
ba3ce055 »
2008-06-27 updated the README a little with contributors and some other busy work
590
eff38a1b »
2011-05-27 too hard to maintain the maintainers
591 The project is hosted on Github: "http://github.com/justinfrench/formtastic":http://github.com/justinfrench/formtastic, where your contributions, forkings, comments, issues and feedback are greatly welcomed.
ba3ce055 »
2008-06-27 updated the README a little with contributors and some other busy work
592
ebe4e51c »
2010-09-08 updated the README to reflect the new gem versions and other compatib…
593 Copyright (c) 2007-2010 Justin French, released under the MIT license.
Something went wrong with that request. Please try again.