Commit Graph

155 Commits

Author SHA1 Message Date
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
Nathan Van der Auwera 7baae8f8c3 Updated README. 2012-09-21 00:45:42 +02:00
Nathan Van der Auwera 8e3bfa1a29 Bump version to 1.0.23 2012-09-21 00:45:26 +02:00
Nathan Van der Auwera c69c157aff Renamed the triggered events to be more clear and symmetric, and added a `before-insert`. As discussed in #89. 2012-09-21 00:38:26 +02:00
Nathan Van der Auwera 359e1ac741 Merge pull request #88 from SebastianEdwards/master
Allow created objects to be decorated via a callable option.
2012-09-20 02:21:48 -07:00
Sebastian Edwards c33df6fec5 Allow created objects to be decorated via a callable option. 2012-09-19 22:37:35 +12:00
Nathan Van der Auwera c2a0be513d Merge pull request #83 from porecreat/rename-template
Rename link 'template' data attribute
2012-09-13 05:17:55 -07:00
Nathan Van der Auwera 9c1451ec7a Merge pull request #76 from joelcogen/master
Updated README with standard Rails forms example
2012-09-13 05:16:32 -07:00
Nathan Van der Auwera 3cc8a56693 Merge pull request #82 from porecreat/master
Relative node selection
2012-09-13 05:15:24 -07: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
Gauthier Delacroix 3833d9b175 Add relative node selection 2012-08-28 19:08:57 +02:00
Nathan Van der Auwera 6ebb375a67 Merge pull request #78 from ShaneCurcuru/patch-1
Suggest attribution of Apache Cocoon trademark
2012-08-01 07:30:46 -07:00
ShaneCurcuru 3b305ed389 Suggest attribution of Apache Cocoon trademark 2012-08-01 10:59:12 -03:00
Nathan Van der Auwera ffaaaeefda Merge pull request #77 from DomKM/master
This fork fixes a minor typo in README.markdown.
2012-07-31 14:20:46 -07:00
Dom Kiva-Meyer fd230a396d fixes minor typo in README 2012-07-31 11:36:30 -07:00
Joel Cogen 0cd06df780 Updated README with standard Rails forms example 2012-07-31 14:36:58 +03:00
Nathan Van der Auwera c0fd78fea2 Merge pull request #75 from bduc/master
Bugfix : Call insertion-callback on the correct container
2012-07-30 08:39:19 -07:00
Bart Duchesne a8e0a64ff0 call insertion-callback on the correct node (in case a specific insertion-node is specified) 2012-07-30 10:49:17 +02:00
Nathan Van der Auwera 9b61ab50a7 Merge pull request #72 from nick-desteffen/master
Adding complete usage documentation for simple_form
2012-07-14 01:31:51 -07:00
Nathan Van der Auwera 129f7e9836 Merge pull request #73 from jjb/patch-1
Fix haml/formtastic grammar in example
2012-07-12 00:03:22 -07:00
John Joseph Bachir 202df42379 Fix haml/formtastic grammar in example 2012-07-11 13:08:56 -03:00
Nick DeSteffen 607dad6bc0 Adding complete usage documentation for simple_form 2012-07-07 13:19:53 -05:00
Nathan Van der Auwera bb060cd6c2 Merge pull request #71 from eidus/master
Updated documentation in readme to reflect issue #61
2012-07-06 14:40:35 -07:00
Daniel Onggunhao b11423e5a0 Modified the documentation to reflect resolved issue #61 2012-07-06 11:04:44 -07:00
nathanvda d0384d14d6 Regenerate gemspec for version 1.0.22 2012-05-21 00:57:26 +02:00
nathanvda 7d442b6730 Version bump to 1.0.22 2012-05-21 00:57:12 +02:00
nathanvda 37ab5dd2c5 Make sure it still works if we are working with mongo (use the old code then). We use the class-name so we do not get any issues when Mongoid is not known. Fixes #65. 2012-05-21 00:55:33 +02:00
nathanvda a8a3328ad9 Regenerate gemspec for version 1.0.21 2012-05-09 11:03:16 +02:00
nathanvda 18f365ac09 Version bump to 1.0.21 2012-05-09 11:02:44 +02:00
Nathan Van der Auwera e5e7a1c96d Merge pull request #64 from semanticart/master
Use association build methods instead of assoc.klass.new
2012-05-08 14:18:54 -07: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
Nathan Van der Auwera 251d326f31 Merge pull request #58 from michaelkoper/master
Fixed formtastic deprecation in readme.
2012-04-20 13:25:26 -07:00
Michael Koper 480eb8a3fb fixed formtastic deprecation 2012-04-20 14:07:43 +02:00
nathanvda f546a9961b Regenerate gemspec for version 1.0.20 2012-04-09 12:49:09 +02:00
nathanvda ee63272ccd Version bump to 1.0.20 2012-04-09 12:49:03 +02:00
nathanvda 8b791b051f Updated History/Changelog. 2012-04-09 12:48:12 +02: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
nathanvda 700c239c26 Regenerate gemspec for version 1.0.19 2012-04-08 00:03:11 +02:00
nathanvda 07cf348477 Version bump to 1.0.19 2012-04-08 00:02:41 +02:00
Nathan Van der Auwera c8bf134032 Merge pull request #53 from CuriousCurmudgeon/master
Options not passed to link_to_add_association when using a block
2012-04-07 14:23:28 -07:00
Brian Meeker e43a03919c Make sure that locals is always initialized in render_association. If it is not, the call to Hash#merge will fail. 2012-04-07 16:59:43 -04:00
Brian Meeker 5fa318a7f6 Pass options through to link_to_add_association when calling with block for link text. 2012-04-07 11:34:57 -04: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 8c29b122e4 Regenerate gemspec for version 1.0.18 2012-04-07 02:23:23 +02:00
nathanvda 73596e90e6 Version bump to 1.0.18 2012-04-07 02:23:13 +02:00