Bradly Feeley
5df74178a6
Adding test case for when association condition is a proc.
2013-05-26 09:10:04 -07:00
Vasiliy Ermolovich
3a9a81fa85
remove mocha
2013-02-28 00:12:37 +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
1411718c00
Add back the check for the multiple attribute
2012-12-28 18:06:04 -03:00
Lucas Mazza
96a5b64d3e
SimpleForm no longer sets the size
attribute by itself.
...
This should be managed using CSS or you should set the `size` option
on your own. The `default_input_size` configuration setting is now
deprecated and should be removed on SimpleForm 3.1+.
See #542 .
2012-12-27 19:39:32 -02:00
Carlos Antonio da Silva
120c364f7d
Move label I18n test with defaults for associations to labels test file
...
Also reorganize some hashes and spaces.
2012-10-26 01:27:54 -02:00
Carlos Antonio da Silva
f3d7ba7c12
Fix preload collection tests
...
:preload => false was being used twice making two tests have the same
implementation.
Also the test that was supposed to test :preload => false with a
collection was testing against a non-collection association.
2012-10-26 01:09:51 -02:00
Vasiliy Ermolovich
c5f913c378
fix default I18n lookup for association input
...
closes #679
2012-10-24 20:51:13 +03:00
Vasiliy Ermolovich
0bb5726aa3
raise ArgumentError when has_one association was provided
2012-09-13 23:07:31 +03:00
Vasiliy Ermolovich
1cf06d3a7e
association creates blank select if collection is nil
...
closes #595
2012-06-23 00:23:55 +03:00
Carlos Antonio da Silva
a3cafcaff7
Update mocha and fix stubbing method on nil
issues
2012-04-21 20:01:14 -03: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
26f3c20f1a
:radio is not :radio_buttons
...
Makes the API more consistent with :check_boxes, and improves
compatibility with bootstrap collections by avoiding :radio namespace
collision.
2012-01-27 17:47:48 -02:00
José Valim
3ee59b5d0d
Break form builder test into smaller files.
2011-09-08 16:04:36 +02:00