Commit Graph

19 Commits

Author SHA1 Message Date
nathanvda
a0c2d6db53 Make sure that we will not regress: when not passing locals to the partial, it should still work. This was reported in #54, but first fixed in #53. 2012-04-08 18:18:46 +02:00
Brian Meeker
1d22eba498 Added a new example that passes options to link_to_add_association with a block for the name. The test fails. 2012-04-07 11:34:10 -04:00
nathanvda
ae21d63679 Pulled in changes from zacstewart (pull #42), but with extra documentation and test. 2012-04-07 02:14:26 +02:00
nathanvda
ad87c04d4e When using an overriden assocation-name, we generate correct plurals. 2012-04-07 00:35:57 +02:00
nathanvda
d76104f083 Clean up specs: test only one thing, and refrain from using should in titles (better spec-doc). 2012-03-12 23:53:52 +01:00
nathanvda
dece4624fb Make sure that the tests can run on all platforms, do not use 1.9 hash syntax. 2012-03-12 23:48:07 +01:00
fl00r
3f5e89361f Added custom partial feature 2012-03-12 23:30:11 +04:00
fl00r
04c231570b Few minor fixes:
- Gemfile.lock is kicked out
- rdoc/task fix

Added support of  in associations
2012-03-12 23:07:10 +04:00
nathanvda
77a06d0e27 The specs failed on Travis. 2011-12-08 00:25:03 +01:00
nathanvda
003040bc0b Added an extra option :render_option which is handed to the nested fields for builder. Also call the correct nested fields builder for each form builder (e.g. semantic_fields_for, simple_fields_for or fields_for). 2011-10-22 01:42:07 +02:00
nathanvda
a5c8f4e9a7 Use simplecov only on ruby 1.9.x 2011-10-12 23:00:20 +02:00
nathanvda
e410388bd6 Added tests for the install generator. 2011-07-24 00:54:15 +02:00
Nathan
6b5cabc472 Updated readme to show travis status. 2011-07-17 18:08:13 +02:00
nathanvda
388b10a7e5 Fixed the tests. 2011-06-18 01:40:35 +02:00
nathanvda
bf34b7494b Added the code from rfc2616: push in plurals from ruby, with added (simple) tests 2011-04-24 14:36:50 +02:00
Andrius Chamentauskas
657e478801 Template is now saved under data-association attribute to prevent those extra blank records when submitting form. 2011-03-15 16:41:17 +02:00
nathanvda
2be9a44303 Added tests for link_to_remove_association and extended existing tests. 2011-03-07 22:02:21 +01:00
nathanvda
84ce937e50 Added tests for link_to_add_association. 2011-03-06 22:40:37 +01:00
nathanvda
dc09be5634 moved from formtastic-cocoon to just cocoon 2011-02-09 22:03:53 +01:00