Dillon Welch
cac943e891
Add frozen_string_literal in all .rb files
...
I noticed these files all had strings such as "", " ", "_" that were
allocated each time some common methods were called, over 1000x on a
page in my app. This comment freezes all of these strings such that
they're only allocated once, saving many KB of memory allocation.
2017-11-27 17:06:18 -08:00
Rafael Mendonça França
12e6d89b77
Remove all warnings of invalid CSS selector
2014-09-08 17:19:40 -03:00
John Voloski
3bff1fa5a1
improve form_builder's tests description and remove 'should'
2014-05-14 14:18:43 -03:00
Renato Mascarenhas
34312c9fbc
Use 1.9 hash style on code and docs.
2013-01-28 19:02:59 -02:00
Rafael Mendonça França
f4a1ac6f83
FormBuilder methods should not modify the options hash
...
Closes #463
2012-02-21 01:42:06 -02:00
Carlos Antonio da Silva
2d24aa2632
Allow using Rails button helper with f.button :button. Closes #449
...
Make sure to just alias button when it is available, to avoid errors
with Rails versions prior to 3.2.
2012-02-14 08:24:34 -02:00
Cainã Costa
1e1a2bb73f
Add a configuration option to change the class of buttons. Closes #318
...
This changes the default behavior of having a fixed "button" class
on the buttons.
2011-09-11 23:18:53 -03:00
José Valim
3ee59b5d0d
Break form builder test into smaller files.
2011-09-08 16:04:36 +02:00