Commit Graph

12 Commits

Author SHA1 Message Date
Andres Ehrenpreis 928adab801 Code cleanup 2018-01-08 10:29:03 +02:00
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
Dimitri Jorge 03f5a3d451 Fix simple form generator test 2014-07-31 19:42:55 +02:00
Rafael Mendonça França ec038b10a7 Update the tests 2014-03-21 15:46:08 -03:00
Brian Alexander fb80df1ebf fixed bug 2012-11-03 20:15:44 -06:00
Vasiliy Ermolovich 984cddded9 separate configs, closes #544 2012-04-24 23:38:35 +03:00
Carlos Antonio da Silva b21e3c57e6 Force :label as item wrapper tag when using nested boolean config
Use original config for backwards compatibility, and force label as item
wrapper tag in collection radio buttons / check boxes when using nested
boolean, to match boostrap requirements.
2012-01-27 17:47:48 -02:00
Carlos Antonio da Silva 346f79a219 Generate nested boolean style by default for bootstrap 2012-01-26 18:20:41 -02:00
Carlos Antonio da Silva dbf11d94ac Remove test/tmp dir after running generator tests 2012-01-26 10:58:34 -02:00
Lucas Mazza dc2518691d fix the generator test 2012-01-24 18:08:12 -02:00
Lucas Mazza e506e60f6a add SimpleForm.default_wrapper 2012-01-24 16:54:28 -02:00
Lucas Mazza bcc4f1eada add the `--bootstrap` option to the simple_form:install generator 2012-01-24 16:23:50 -02:00