Dmytrii Nagirniak
|
bee1a8ba0b
|
Allow to build plural transient associations
|
2012-09-24 18:20:18 +10:00 |
|
Dmytrii Nagirniak
|
80f949d15a
|
Allow to create association from build_xyz method on an object
|
2012-09-24 18:15:25 +10:00 |
|
Dmytrii Nagirniak
|
3f59065366
|
Refactor object creating and add pending spec
|
2012-09-24 18:08:07 +10:00 |
|
Dmytrii Nagirniak
|
a581d0a3ec
|
Raise more describprive error when can't reflect on association
|
2012-09-24 17:47:47 +10:00 |
|
Sebastian Edwards
|
c33df6fec5
|
Allow created objects to be decorated via a callable option.
|
2012-09-19 22:37:35 +12:00 |
|
Gauthier Delacroix
|
5fb2708496
|
Fix data attributes order in specs
|
2012-08-29 10:42:15 +02:00 |
|
Gauthier Delacroix
|
9e3f0436d1
|
Rename JS 'template' data
|
2012-08-29 10:33:40 +02:00 |
|
Jeffrey Chupp
|
5ddefa399d
|
Use association build methods instead of assoc.klass.new. This avoids mass-assignment errors and other misbehaviors around attribute accessibility.
|
2012-05-04 19:55:12 -04:00 |
|
nathanvda
|
0225126532
|
Remove the extra options-hash for the partial, instead use the same html_options hash. Is less confusing, and matches the documentation (I was under the impression it was already like that --ooops).
|
2012-04-09 12:45:59 +02:00 |
|
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 |
|