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
nathanvda
ae21d63679
Pulled in changes from zacstewart (pull #42 ), but with extra documentation and test.
2012-04-07 02:14:26 +02:00
nathanvda
5047cdf0f1
Pulled in the changes from erwin (pull #51 )., with a few changes to clean up and maintain backwards compatibility.
2012-04-07 01:33:30 +02:00
nathanvda
7212a7a13c
Update the documentation, to match the availability of some extra options :partial and :render_options.
2012-04-07 01:15:27 +02:00
nathanvda
ad87c04d4e
When using an overriden assocation-name, we generate correct plurals.
2012-04-07 00:35:57 +02:00
nathanvda
15eaa31e04
Regenerate gemspec for version 1.0.17
2012-03-16 20:09:36 +01:00
nathanvda
58bb493443
Version bump to 1.0.17
2012-03-16 20:09:17 +01:00
nathanvda
7bcd2aa98d
Make sure cocoon still works on rails 3.0 (where conditions is not yet supported). Fixes #47 .
2012-03-16 20:08:19 +01:00
nathanvda
239790d44c
Regenerate gemspec for version 1.0.16
2012-03-12 23:59:10 +01:00
nathanvda
2593194a30
Version bump to 1.0.16
2012-03-12 23:58:49 +01: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
Nathan Van der Auwera
52525b0715
Merge pull request #45 from fl00r/master
...
Added support of "conditions" in associations
2012-03-12 14:27:58 -07: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
Nathan Van der Auwera
47b5f678b4
Merge pull request #33 from jqr/fix_formastic_example_url
...
Correcting URL to formtastic demo
2012-01-05 22:57:20 -08:00
Elijah Miller
8225ed4904
Correcting URL to formtastic demo.
2012-01-05 18:18:29 -05:00
nathanvda
47a0d54cd6
Regenerate gemspec for version 1.0.15
2011-12-08 00:36:58 +01:00
nathanvda
88002299a8
Version bump to 1.0.15
2011-12-08 00:25:03 +01:00
nathanvda
de99d7b60e
Updated the history aka changelog.
2011-12-08 00:25:03 +01:00
nathanvda
77a06d0e27
The specs failed on Travis.
2011-12-08 00:25:03 +01:00
nathanvda
d29dfef1c0
Improved README as suggested in #27 .
2011-12-08 00:25:03 +01:00
Nathan Van der Auwera
bb97c88994
Merge pull request #30 from silent-e/expand-insertion-methods
...
Expand insertion methods and formatting tweaks
2011-12-07 13:40:47 -08:00
silent-e
3ac8b8901d
update README with github flavored syntax highlighting
2011-12-06 12:15:58 -08:00
Matte Edens
4563b685be
add data-association-insertion-method
...
the -position data attribute doesn't really "make sense" when adding
the "append" or "prepend" methods. those aren't "positions". I try to
be grammatically correct. :)
2011-12-06 12:03:25 -08:00
nathanvda
0e52731827
Regenerate gemspec for version 1.0.14
2011-10-22 23:01:53 +02:00
nathanvda
f1b4276b1c
Updated readme.
2011-10-22 23:00:51 +02:00
nathanvda
1632108e97
Bumped version to 1.0.14 and updated the history.
2011-10-22 01:42:36 +02: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
5daa7d3c26
Regenerate gemspec for version 1.0.13
2011-10-12 23:03:57 +02:00
nathanvda
1e0f731471
Updated history and readme.
2011-10-12 23:00:20 +02:00
nathanvda
c278916ad4
Added new callback solution, allowing both insertion and removal callbacks.
2011-10-12 23:00:20 +02:00
nathanvda
a5c8f4e9a7
Use simplecov only on ruby 1.9.x
2011-10-12 23:00:20 +02:00
nathanvda
e8b98f4453
Ignore coverage files.
2011-10-12 23:00:20 +02:00
nathanvda
cad1bd5f14
Version bump to 1.0.13
2011-10-12 23:00:20 +02:00
Nathan Van der Auwera
dd64101b68
Merge pull request #17 from graycoder/master
...
safe jQuery & faster live binding
2011-10-10 01:27:32 -07:00
gray
7821a6bb8f
Use safe jQuery & remove document ready
2011-09-26 12:01:20 +03:00
nathanvda
f395ea64a9
Regenerate gemspec for version 1.0.12
2011-08-25 23:19:32 +02:00
nathanvda
01bd8d1a1f
Bumped version to 1.0.12
2011-08-25 23:17:42 +02:00
nathanvda
42f95ce346
Updated history: describe new release.
2011-08-25 23:17:25 +02:00
Nathan Van der Auwera
97daa1b71c
Merge pull request #16 from csegura/master
...
Use this in association-insertion-node
2011-08-24 23:38:25 -07:00