Commit Graph

8660 Commits

Author SHA1 Message Date
Jeremy Kemper 0032da1b3e Merge pull request #5748 from ai/no_type_in_html5
Remove unnecessary in HTML 5 type attribute with default value
2012-04-08 06:56:44 -07:00
Xavier Noria af422bf3c5 Merge pull request #5772 from lest/patch-4
use extract_options! in cycle helper
2012-04-07 15:03:27 -07:00
Vijay Dev b653c29bbe avoid empty api pages 2012-04-08 01:56:41 +05:30
Sergey Nartimov fd3f550c94 use extract_options! in cycle helper 2012-04-07 22:03:17 +03:00
Vijay Dev bcd2269658 Merge branch 'master' of github.com:lifo/docrails 2012-04-07 22:11:47 +05:30
Alexey Vakhov c007d871e6 Fix example action dispatch in mime type 2012-04-07 14:54:55 +06:00
Sergey Nartimov 13688cf8a9 pass default value as argument to fetch 2012-04-06 22:18:21 +03:00
Xavier Noria 8927987506 documents the contract for the argument of AD::Routing::RouteSet#url_for 2012-04-05 14:28:03 -07:00
Rafael Mendonça França ddbd1e4adb Make url_for work when option is nil and default_url_options has
stringified keys
2012-04-05 15:14:00 -03:00
Rafael Mendonça França 8f4cf26d69 Fix url_for when options is nil
RouteSet#url_for was modifying the options hash that belong to the
caller
2012-04-05 15:12:42 -03:00
Vijay Dev 163258ba2a Merge branch 'master' of github.com:lifo/docrails 2012-04-05 22:30:30 +05:30
Xavier Noria 64462039c0 Merge pull request #5182 from castlerock/content_tag_instead_string
content_tag used instead string for option
2012-04-05 09:39:17 -07:00
Aaron Patterson 174cf8b220 Merge pull request #5750 from ahoward/master
mo fasta and mo betta the url_for
2012-04-05 09:31:39 -07:00
Xavier Noria 7ecd6a731b Merge pull request #5707 from morgoth/remove-unnecessary-block-in-fetch
removed unnecessary block when using fetch
2012-04-05 08:55:19 -07:00
ara.t.howard 99c08c702e url_for: avoid a nil check. unroll a loop. handle most common case 1st. 2012-04-05 07:30:54 -06:00
José Valim 91cb99e9e4 Merge pull request #4446 from ayamomiji/patch-1
prevent the cache sweeper ignores NoMethodError
2012-04-05 06:20:02 -07:00
Andrey A.I. Sitnik f3fb416b89 Remove unnecessary in HTML 5 type attribute with default value 2012-04-05 15:32:37 +04:00
Alexey Vakhov 0693bc2c2a Add AC record identifier example with not-persisted object 2012-04-05 12:07:30 +06:00
ara.t.howard 697991a201 carefully and quickly merge url_for options 2012-04-04 16:28:19 -06:00
Vijay Dev cc3e2c5432 Revert "update ActionPack README links"
This reverts commit aeb228c5be.

Reason: The links are meant to be consumed in the api and not on GitHub.
2012-04-05 02:41:21 +05:30
Hrvoje Šimić 8e00a6cf73 update ActionPack README links 2012-04-05 02:41:21 +05:30
Santiago Pastorino a9398a7da4 Merge pull request #5716 from jurriaan/tr-gsub-cleanup
Updated/changed unneeded tr/gsubs
2012-04-04 10:43:24 -07:00
Oscar Del Ben db86b2a059 No need to extend ActiveSupport::Extend here 2012-04-04 15:28:13 +03:00
Vijay Dev 30ff259877 Revert "update ActionPack README links"
This reverts commit aeb228c5be.

Reason: The links are meant to be consumed in the api and not on GitHub.
2012-04-04 15:23:15 +05:30
Hrvoje Šimić aeb228c5be update ActionPack README links 2012-04-04 11:16:13 +02:00
Vijay Dev 02b9c22df8 Merge branch 'master' of github.com:lifo/docrails
Conflicts:
	guides/source/engines.textile
2012-04-04 12:42:22 +05:30
Alexey Vakhov e39b9b0468 Fix AC responder example 2012-04-04 12:40:39 +06:00
Tieg Zaharia f181d7e3ef minor elsif/else typo fix 2012-04-03 13:45:19 -04:00
Jurriaan Pruis 2d8396fc9f Updated/changed useless tr/gsubs 2012-04-03 15:16:09 +02:00
Alexey Vakhov e527347554 Remove non-obligatory params in AC respond_to examples 2012-04-03 12:43:13 +06:00
Wojciech Wnętrzak f58ff61473 removed unnecessary block when using fetch 2012-04-02 23:43:47 +02:00
Sergey Nartimov e3d1585c8f add type option to atom feed entry builder
closes #5672
2012-04-01 20:07:34 +03:00
Santiago Pastorino fa1645a2b7 Merge pull request #5694 from hardipe/master
Tidy up cookies.rb a bit
2012-04-01 08:44:03 -07:00
Vijay Dev cf182988f5 Merge branch 'master' of github.com:lifo/docrails 2012-04-01 19:53:29 +05:30
Erich Menge 6e814ce62f :success includes the whole 200 range, not just 200.
# File lib/rack/response.rb, line 114
114:       def successful?;    @status >= 200 && @status < 300;       end
2012-04-01 08:39:57 -05:00
José Valim eb154c5299 Merge pull request #5691 from avakhov/form-label-block
Block version of label should wrapped in field_with_errors in case of error
2012-04-01 04:45:10 -07:00
hardi d578bd4d1d Useless/Confusing method definition removed 2012-04-01 13:08:18 +03:00
Alexey Vakhov 806f4d8af0 Small #label method refactoring, thanks @rafaelfranca 2012-04-01 10:30:31 +04:00
Alexey Vakhov 7f6bb2d86d Tests :if option of force_ssl method 2012-04-01 09:44:49 +04:00
Alexey Vakhov 889bb4b786 Block version of label should wrapped in field_with_errors in case of error 2012-04-01 08:53:55 +04:00
Santiago Pastorino 67b000ebd5 Remove not needed requires 2012-03-31 15:13:35 -03:00
Piotr Sarnacki 3e75acbc4c Merge pull request #5664 from lest/patch-1
use `symbolize_keys` instead of `dup.symbolize_keys!`
2012-03-31 09:30:10 -07:00
Alexey Vakhov 891392a164 Remove obsolete reader from AC::MethodNotAllowed exception class 2012-03-31 00:46:34 +04:00
Alexey Vakhov 0d2a4009ca Remove AC::RenderError class second declaration 2012-03-31 00:30:53 +04:00
Santiago Pastorino 1141f71601 Remove the leading \n added by textarea on assert_select 2012-03-30 11:40:23 -03:00
Sergey Nartimov f4d2695f39 use `symbolize_keys` instead of `dup.symbolize_keys!` 2012-03-30 08:35:50 +03:00
José Valim e51322a34b Merge pull request #5625 from nertzy/prefix_partial_path_with_controller_namespace
Add config option to turn off prefixing partial path with controller namespace
2012-03-28 23:51:34 -07:00
Santiago Pastorino c4d90e4204 Merge pull request #5359 from avakhov/missed-commits-from-3-2-stable
Missed commits from 3-2-stable
2012-03-28 20:32:09 -07:00
ayaya 2ac67358a3 prevent the cache sweeper ignores NoMethodError 2012-03-29 11:09:42 +08:00
Grant Hutchins 18d275ada1 Make controller namespace partial prefix optional
config.action_view.prefix_partial_path_with_controller_namespace

This allows you to choose to render @post using
/posts/_post.erb instead of /admin/posts/_post.erb
inside Admin::PostsController.
2012-03-28 20:21:46 -04:00