Rizwan Reza
18605adec3
HTML5 button_tag helper
...
This tag is similar in nature to submit_tag, but allows more control.
It also doesn't submit if submit type isn't used, allowing JavaScript to
control the flow where required.
For more information: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-button-element.html#the-button-element
2011-01-09 15:22:23 -08:00
Xavier Noria
69765aad8b
Merge branch 'master' of git://github.com/lifo/docrails
2010-12-29 23:46:03 +01:00
Cheah Chu Yeow
6f58b9ad53
Fix typo in ActionPack changelog.
2010-12-29 19:36:00 +08:00
Cheah Chu Yeow
a21a3d1f44
Remove link to outdated Github tag comparison in ActionPack changelog.
2010-12-29 19:35:33 +08:00
José Valim
51a7d9acdd
Final tidy up on templates inheritance.
2010-12-27 09:14:13 +01:00
Piotr Sarnacki
f176b2552e
Changelog and guide entries for config.action_view.cache_template_loading
2010-12-16 22:53:19 +01:00
José Valim
78afe68afb
Merge remote branch 'joshk/redirect_routing'
...
Conflicts:
actionpack/CHANGELOG
actionpack/lib/action_controller/metal/mime_responds.rb
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-12-03 12:27:50 +01:00
Josh Kalderimis
1e26bda095
Added documentation explaining the new additional supported syntaxes for the routing redirect method, a small changelog note, and two extra tests for path interpolation when using the hash option syntax.
2010-11-30 17:55:33 +01:00
José Valim
927c582acf
Update CHANGELOG.
2010-11-27 08:12:49 -08:00
Piotr Sarnacki
ae56c82e2b
Added config.action_controller.include_all_helpers to CHANGELOG.
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-11-18 00:29:23 +01:00
Xavier Noria
41366cdec6
syncs CHANGELOGs for 3.0.2 in 3-0-stable with the ones in master
2010-11-09 20:56:41 +01:00
Xavier Noria
f57b5197b3
registers number_to_currency's :negative_format in the CHANGELOG
2010-11-09 09:37:32 +01:00
Xavier Noria
de3603c255
adds the new :data idiom in tag helpers to the CHANGELOG
2010-10-19 10:13:26 +02:00
Santiago Pastorino
460c4efd71
Merge CHANGELOGs from 3-0-stable
2010-10-18 12:24:41 -02:00
José Valim
cba395dab9
Update CHANGELOG.
2010-10-10 12:43:26 +02:00
José Valim
50215f9525
Rely on Rack::Session stores API for more compatibility across the Ruby world.
2010-10-03 21:24:22 +02:00
Santiago Pastorino
b17b980a15
file_field makes the enclosing form multipart
2010-09-18 12:31:00 -07:00
Carlhuda
d8d8334a0b
Update changelog
2010-09-13 16:06:40 -07:00
Xavier Noria
a87b92db7b
revises implementation and documentation of csrf_meta_tags, and aliases csrf_meta_tag to it for backwards compatibilty
2010-09-11 11:05:00 +02:00
Jeremy Kemper
b861942691
Update CHANGELOGs for 3.0 release and upcoming 3.1
2010-08-29 22:06:48 -07:00
Jeremy Kemper
0d0c46abd1
Clean up CHANGELOGs
2010-08-28 15:45:14 -07:00
Santiago Pastorino
1851af84c1
password_field renders with nil value by default
...
This makes the use of passwords secure by default if you want to render
the value of the password_field you have to do for instance
f.password_field(:password, :value => @user.password) # =>
<input type=password id=user_password name=user[password]
value=#{@user.password} />
2010-08-28 05:23:34 -03:00
José Valim
ca1f3a5596
Update CHANGELOG.
2010-08-26 16:07:54 -03:00
José Valim
b6e28cea8c
Update CHANGELOG for ActionPack.
2010-08-23 21:54:19 -03:00
Santiago Pastorino
b451de0d6d
Deletes trailing whitespaces (over text files only find * -type f -exec sed 's/[ \t]*$//' -i {} \;)
2010-08-14 04:12:33 -03:00
David Heinemeier Hansson
06b95314db
Spaces, people, spaces!
2010-07-26 15:43:22 -05:00
David Heinemeier Hansson
856fc4bbc3
Prep for RC
2010-07-26 12:53:25 -05:00
José Valim
b22c11fa53
Add missing entries and tidy up CHANGELOG.
2010-07-19 15:14:26 +02:00
Xavier Noria
ec3bfa2ead
s/escape_once/html_escape/, since html safety is the contract that now says whether something has to be escaped
2010-06-30 00:32:26 +02:00
Xavier Noria
cba1460a2f
url_for no longer escapes HTML, the :escape option is also gone
...
Rationale: url_for is just a path/URL generator, it is the responsability of the caller to escape conveniently HTML needs it, JavaScript needs different escaping, a text mail needs no escaping at all, etc.
2010-06-30 00:23:13 +02:00
wycats
b1cc63c10d
_snowman CHANGELOG (dobry pies)
2010-06-29 12:23:11 -07:00
José Valim
dd8b7417a9
Update CHANGELOGs.
2010-06-28 11:37:14 +02:00
José Valim
a6eeb0865e
Update CHANGELOG.
2010-06-23 00:52:20 +02:00
José Valim
fef5cf92ed
Deprecate :name_prefix in the new router DSL.
2010-06-22 23:30:19 +02:00
Jeremy Kemper
a55d83292f
Credit for the heavy lifting!
2010-06-17 22:18:12 -07:00
Andrew White
6db9558416
Add shallow routing option to new router [ #3765 status:committed]
...
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
2010-06-17 09:52:55 -05:00
Rizwan Reza
44830ead1c
Add support for multi-subdomain session by setting cookie host in session cookie so you can share session between www.example.com, example.com and user.example.com. [ #4818 state:resolved]
...
This reverts commit 330a89072a493aafef1e07c3558964477f85adf0.
2010-06-11 16:34:52 +02:00
José Valim
330a89072a
Revert "Add support for multi-subdomain session by setting cookie host in session cookie so you can share session between www.example.com, example.com and user.example.com. [ #4818 state:resolved]"
...
It does not work for domains like co.uk and com.br.
This reverts commit c4d6245e875bbb276c122a5a401422d341dac4df.
2010-06-10 20:08:01 +02:00
Guillermo Álvarez
c4d6245e87
Add support for multi-subdomain session by setting cookie host in session cookie so you can share session between www.example.com, example.com and user.example.com. [ #4818 state:resolved]
...
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
2010-06-10 12:05:12 -04:00
Santiago Pastorino
0919c0dbca
Removed textilize, textilize_without_paragraph and markdown helpers
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-06-09 10:06:14 +02:00
David Heinemeier Hansson
03be27092b
Revert "Add shallow routes to the new router" for now. Needs more work.
...
This reverts commit 67a60ee314f53abcde78f8ecd2a1f7c9ef8264e1.
2010-06-08 16:20:46 -04:00
David Heinemeier Hansson
32d4330b81
Get ready for beta 4
2010-06-08 14:47:02 -04:00
Diego Carrion
67a60ee314
Add shallow routes to the new router [ Closes #3765 ]
2010-06-07 18:09:20 -05:00
wycats
b870daba5f
Update CHANGELOG
2010-05-30 12:11:50 +02:00
José Valim
c536835957
Cut the fat and make session stores rely on request.cookie_jar and change set_session semantics to return the cookie value instead of a boolean.
2010-05-18 03:18:23 +02:00
Jeremy Kemper
1d2257deeb
Merge remote branch 'technoweenie/http_token_authentication'
...
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2010-04-30 13:46:37 -07:00
Neeraj Singh
68c96fad55
Fix form builder and form helpers inconsistencies [ #4432 state:resolved]
...
* datetime_select and select_datetime should be consistent as much as possible
* date_select and select_date should be consistent as much as possible
* time_select and select_time should be consistent as much as possible
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-04-29 13:40:55 +02:00
José Valim
2e9af3638d
Move several configuration values from Hash to ActiveSupport::XmlMini, which both Hash and Array depends on.
...
Also, refactored ActiveModel serializers to just use ActiveSupport::XmlMini.to_tag. As consequence, if a serialized attribute is an array or a hash, it's not encoded as yaml, but as a hash or array.
2010-04-29 12:42:42 +02:00
Jeremy Kemper
72a3e4b77b
Rename fieldWithErrors style to field_with_errors. Remove unused alert style.
2010-04-24 15:02:12 -07:00
Diego Carrion
8c7e8976e9
added shorthand support for routes like /projects/status(.:format)
...
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2010-04-17 17:53:08 -07:00