Commit Graph

7227 Commits

Author SHA1 Message Date
Vijay Dev
4719543c80 reword select_date's behaviour clearly when an incomplete options array is passed 2011-07-20 00:03:28 +05:30
Vijay Dev
4885e5d3eb minor corrections in form helpers guide and api docs 2011-07-20 00:03:28 +05:30
Ray Baxter
82569b3827 examples for telephone_field, url_field and email_field 2011-07-17 13:10:17 -07:00
Ray Baxter
65b19c3633 document options to search_field 2011-07-17 13:08:02 -07:00
Ray Baxter
a92780e72a use correct in description 2011-07-17 09:07:18 -07:00
Ray Baxter
10c2132cbd we're talking about days here, not hours 2011-07-17 00:31:28 -07:00
Ray Baxter
5c71a4e768 wording between select_second, select_minute and
select_hour should be consistent and correct
2011-07-17 00:31:09 -07:00
Ray Baxter
f0a58dbd9b fix typo 2011-07-17 00:24:31 -07:00
Ray Baxter
2e6475ec06 make documentation agree with test expectations and
behaviour

See: test_select_date_with_incomplete_order in 
actionpack/test/template/date_helper_test.rb
2011-07-17 00:06:46 -07:00
Ray Baxter
4341a5abaa document that second tags are also returned by default 2011-07-16 23:54:40 -07:00
Ray Baxter
6970c000e8 there is no Time.today method, use Time.now 2011-07-16 23:47:06 -07:00
Ray Baxter
343a05a64f remove stray character 2011-07-16 23:44:01 -07:00
Ray Baxter
9a2b18cfd3 disambiguate uses of post/POST by using "article"
for the related variable passed to  date_select, 
time_select and datetime_select
2011-07-16 23:42:35 -07:00
Ray Baxter
762a2f4653 clarify that classes that include DateHelper can
also manipulate times
2011-07-16 23:29:51 -07:00
Ray Baxter
589ff96809 clarify that DateTime objects are allowed arguments
to distance_of_time_in_words
2011-07-16 23:27:26 -07:00
Ray Baxter
4ada0a58ae use minute instead of second in description of select_minute 2011-07-16 23:11:48 -07:00
Ray Baxter
851275e706 show correct helper in description 2011-07-16 23:09:59 -07:00
Ray Baxter
5dd8277f5b use 'hour' instead of 'minutes' and 'second' for select_hour 2011-07-16 23:08:30 -07:00
Vijay Dev
ff410c4ea9 Revert "Fix wildcard route code examples."
This reverts commit 0894d73c75.

Reason: CHANGELOGs should not be changed in docrails.
2011-07-15 23:06:37 +05:30
Hendy Tanata
0894d73c75 Fix wildcard route code examples.
Should be "match" instead of "map".
2011-07-15 22:24:04 +08:00
Olek Janiszewski
2beea3b249 Documentation fixes for rendering partials 2011-07-09 13:38:07 +03:00
Xavier Noria
b65bd01d55 Merge branch 'master' of git://github.com/lifo/docrails 2011-07-09 12:20:24 +02:00
Santiago Pastorino
d9182c0ae9 config should always be an AS::InheritableOptions object. Closes #1992 2011-07-08 21:45:53 -03:00
Xavier Noria
ad912c08a9 use Zlib.crc2 rather that bytes.sum, as per Aaron's suggestion
That integer is rather irrelevant, the only thing that matters is that
it is consistent and with no apparent bias. Zlib.crc32 is 8-10 times
faster than bytes.sum, so use that.
2011-07-08 00:58:14 +02:00
José Valim
e01aba1504 Move config.default_asset_host_protocol to the railtie. 2011-07-07 19:13:10 -03:00
Akira Matsuda
a3683fd0e4 find(:all) => all 2011-07-08 06:13:21 +09:00
Aaron Patterson
215193d19a removing brittle assertion 2011-07-07 13:12:28 -07:00
Albert Callarisa Roca
f6a6b51ae5 Using the sum of bytes instead the hash of the path when replacing the wildcard of the assets path because in ruby 1.9 is not consistent 2011-07-08 00:10:20 +08:00
José Valim
86e2f888e7 Give higher priority to assets.cache_store. 2011-07-06 17:59:56 -07:00
José Valim
2f6e3895a8 Make compressors lazily load. 2011-07-06 21:41:13 -03:00
José Valim
7da88c5b29 Remove stream at the class level.
This is because only template rendering works with streaming.
Setting it at the class level was also changing the behavior
of JSON and XML responses, closes #1337.
2011-07-06 20:24:30 -03:00
Xavier Noria
289b5253ce Merge branch 'master' of git://github.com/lifo/docrails 2011-07-05 01:42:13 +02:00
José Valim
3875e449ab Merge pull request #1925 from spohlenz/refactor-asset-paths
Refactor sprockets asset paths to allow for alternate asset environments
2011-07-02 20:23:47 -07:00
Sam Pohlenz
21344bc33b Add documentation for asset_prefix and asset_environment 2011-07-03 10:29:04 +09:30
Damien Mathieu
ac15bcebf2 provide a more explicit message when using url_for with nil
This fixes the problem of having a non-explicit message when the :location option is not provided in respond_with.
2011-07-02 18:53:54 +02:00
Vijay Dev
2949e30a05 document handle_unverified_request method 2011-07-02 21:18:46 +05:30
José Valim
13990d50fa require 'thread' before using mutex 2011-07-01 14:52:07 -07:00
Andrew White
2d16515e52 It's autoload all the way down 2011-07-01 21:44:16 +01:00
Andrew White
79924c637d Don't require ActionView::Context as it's autoloaded 2011-07-01 20:36:23 +01:00
Andrew White
505b6a43f7 Revert "Add missing require for ActionView::AssetPaths"
This reverts commit 987eb7d423.
2011-07-01 20:34:15 +01:00
Andrew White
fdaecbed84 Add missing requires for ActionView::Context and Module#instance_method_names 2011-07-01 20:17:48 +01:00
Andrew White
987eb7d423 Add missing require for ActionView::AssetPaths 2011-07-01 20:17:48 +01:00
José Valim
3da608e0b4 Revert "Add method fields_for_with_index to FormHelper"
This reverts commit 7c562d5e46.

Conflicts:

	actionpack/lib/action_view/helpers/form_helper.rb
2011-07-01 14:52:18 -03:00
Sam Pohlenz
0613f3bcdb Add tests for alternate asset prefix/environment 2011-07-01 21:56:41 +09:30
José Valim
b31ce90e99 Merge pull request #1927 from bogdan/select_multiple_index
Fixed ActionView::FormOptionsHelper#select with :multiple => false
2011-07-01 04:31:48 -07:00
Sam Pohlenz
d5f7253206 Refactor sprockets asset paths to allow for alternate asset environments 2011-07-01 17:08:58 +09:30
Vijay Dev
5fe67fa7a3 update doc about resetting the session in case of authenticity token mismatch 2011-07-01 00:00:38 +05:30
José Valim
9c9ec2172e Make sure respond_with with :js tries to render a template in all cases 2011-06-30 11:47:36 -03:00
Bogdan Gusiev
0fdac01876 Fixed ActionView::FormOptionsHelper#select with :multiple => false 2011-06-30 16:27:01 +03:00
Santiago Pastorino
35cdd256c0 Master version is 3.2.0.beta 2011-06-30 10:18:36 -03:00