README.md in formulaic-0.3.0 vs README.md in formulaic-0.4.0
- old
+ new
@@ -120,11 +120,11 @@
You may have attributes included in your `User` factory that don’t pertain to
sign up:
```ruby
-fill_form(:user, attributes_for(:user).slice(sign_up_attributes))
+fill_form(:user, attributes_for(:user).slice(*sign_up_attributes))
# ...
def sign_up_attributes
[:name, :email, :terms_of_service]
end
@@ -140,10 +140,15 @@
You can still use Formulaic by using strings as keys instead of symbols, which
it knows to pass directly to `fill_in` rather than trying to find a translation.
You’ll need to find submit buttons yourself since `submit` is a thin wrapper
around `I18n.t`.
+Formulaic assumes your forms don't use AJAX, setting the wait time to 0. This can be configured using:
+```ruby
+Formulaic.default_wait_time = 5
+```
+
## Known Limitations
* Formulaic currently supports the following mappings from the `#class` of the
attribute values to Capybara method calls:
@@ -169,10 +174,15 @@
do by passing a string as the attribute key).
* Formulaic can't handle multiple file attachments on the same input.
## About
-Formulaic is maintained by [Caleb Thompson](http://github.com/calebthompson).
-It was written by [thoughtbot](http://thoughtbot.com) with the help of our
-[contributors](http://github.com/thoughtbot/formulaic/contributors).
+Formulaic is maintained by [Caleb Thompson][caleb]
+and thoughtbot's [Austin Ruby on Rails development team][team],
+with the help of community [contributors].
+Thank you!
+
+[caleb]: http://github.com/calebthompson
+[team]: https://thoughtbot.com/austin?utm_source=github
+[contributors]: http://github.com/thoughtbot/formulaic/contributors
[](http://thoughtbot.com)