aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
Commit message (Collapse)AuthorAgeFilesLines
...
| | * removed :nodoc: from ActionController::MimeRespondsJo Liss2011-04-101-2/+2
| | | | | | | | | | | | | | | So we don't miss out on the nice documentation of the respond_to and respond_with instance methods. Also added :nodoc: to protected method.
| | * Merge branch 'master' of github.com:lifo/docrailsRyan Bigg2011-04-0515-65/+116
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 'master' of github.com:lifo/docrails: (57 commits) Made the defaults section a little more readable and more to the point, giving a overview of the possibilities. Added information about default values added .'s to headings in the initialization textile page s/ERb/ERB/g (part II) s/ERb/ERB/g Bump up erubis to 2.7.0 Implicit actions named not_implemented can be rendered Gem::Specification#has_rdoc= is deprecated since rubygems 1.7.0 default_executable is deprecated since rubygems 1.7.0 Trivial fix to HTTP Digest auth MD5 example Moved Turn activation/dependency to railties fix typo Direct logging of Active Record to STDOUT so it's shown inline with the results in the console [DHH] Add using Turn with natural language test case names if the library is available (which it will be in Rails 3.1) [DHH] require turn only for minitest Use Turn to format all Rails tests and enable the natural language case names Improve docs. pass respond_with options to controller render when using a template for api navigation only try to display an api template in responders if the request is a get or there are no errors when using respond_with with an invalid resource and custom options, the default response status and error messages should be returned ...
| | * | Correct documentation on url_for. It doesn't call to_s, but rather to_paramRyan Bigg2011-04-051-1/+4
| | | |
| * | | Change Object#either? to Object#among? -- thanks to @jamesarosen for the ↵David Heinemeier Hansson2011-04-124-5/+5
| | | | | | | | | | | | | | | | suggestion!
| * | | Using Object#in? and Object#either? in various placesPrem Sichanugrist2011-04-115-7/+13
| | | | | | | | | | | | | | | | There're a lot of places in Rails source code which make a lot of sense to switching to Object#in? or Object#either? instead of using [].include?.
| * | | Make csrf_meta_tags use the tag helperJames Robinson2011-04-081-4/+6
| | | | | | | | | | | | | | | | Improved formatting of csrf_helper and improved test coverage
| * | | Merge branch 'master' of github.com:rails/railsAaron Patterson2011-04-071-1/+1
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 'master' of github.com:rails/rails: Cache flash now Revert "Use freeze instead of close!" Revert "Eagerly load Signed and Permanent cookies" cookies here Eagerly load Signed and Permanent cookies Use freeze instead of close!
| | * | | Cache flash nowSantiago Pastorino2011-04-071-1/+1
| | | | |
| | * | | Revert "Use freeze instead of close!"Santiago Pastorino2011-04-072-5/+14
| | | | | | | | | | | | | | | | | | | | This reverts commit 29592a7f09dda2e7e1e0a915d9230fe6a9b5c0af.
| | * | | Revert "Eagerly load Signed and Permanent cookies"Santiago Pastorino2011-04-071-17/+10
| | | | | | | | | | | | | | | | | | | | This reverts commit dffeda377021ba8691381195f5a2889f8e040b93.
| | * | | Eagerly load Signed and Permanent cookiesSantiago Pastorino2011-04-071-10/+17
| | | | |
| | * | | Use freeze instead of close!Santiago Pastorino2011-04-062-14/+5
| | | | |
| * | | | getting the flash hash under testAaron Patterson2011-04-061-0/+4
| | | | |
| * | | | favor composition over inheritance, have FlashHash delegate to a HashAaron Patterson2011-04-061-7/+40
| |/ / /
| * | | CookieJar should prefer composition over inheritanceAaron Patterson2011-04-061-6/+10
| | | |
| * | | Make process reuse the env var passed as argumentSantiago Pastorino2011-04-061-5/+4
| | | |
| * | | raise if someone tries to modify the cookies when it was already streamed ↵Santiago Pastorino2011-04-061-0/+12
| | | | | | | | | | | | | | | | back to the client or converted to HTTP headers
| * | | Add ClosedError message to the initializerSantiago Pastorino2011-04-063-5/+10
| | | |
| * | | do not return html safe strings from auto_linkAaron Patterson2011-04-051-2/+2
| | | |
| * | | raise if someone tries to modify the flash when it was already streamed back ↵Santiago Pastorino2011-04-051-1/+19
| | |/ | |/| | | | | | | to the client or converted to HTTP headers
| * | Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-04-0311-22/+29
| |\ \
| | * | s/ERb/ERB/gAkira Matsuda2011-04-037-12/+12
| | | | | | | | | | | | | | | | | | | | The author of ERB sais, his eRuby implementation was originally named "ERb/ERbLight" and then renamed to "ERB" when started bundled as a Ruby standard lib. http://www2a.biglobe.ne.jp/~seki/ruby/erb.html
| | * | Trivial fix to HTTP Digest auth MD5 exampleJon Cooper2011-03-311-1/+1
| | | |
| | * | Explain in the method doc that you need to call respond_to at the class ↵Amaia Castro2011-03-311-0/+3
| | |/ | | | | | | | | | level in order to use respond_with.
| | * Fix grammar, formatting, and cross referencesJohn Firebaugh2011-03-281-8/+8
| | |
| | * Add docs for ActionController::Metal class methodsGabriel Horner2011-03-281-1/+5
| | |
| * | Implicit actions named not_implemented can be renderedSantiago Pastorino2011-04-021-0/+2
| | |
| * | Improve docs.José Valim2011-03-311-0/+31
| | |
| * | pass respond_with options to controller render when using a template for api ↵Josh Kalderimis2011-03-313-5/+5
| | | | | | | | | | | | | | | | | | navigation Signed-off-by: José Valim <jose.valim@gmail.com>
| * | only try to display an api template in responders if the request is a get or ↵Josh Kalderimis2011-03-311-4/+9
| | | | | | | | | | | | | | | | | | there are no errors Signed-off-by: José Valim <jose.valim@gmail.com>
| * | when using respond_with with an invalid resource and custom options, the ↵Josh Kalderimis2011-03-311-1/+2
| | | | | | | | | | | | | | | | | | default response status and error messages should be returned Signed-off-by: José Valim <jose.valim@gmail.com>
* | | Unify sprockets config optionsJoshua Peek2011-03-301-1/+1
| | |
* | | Merge branch 'master' into sprocketsJoshua Peek2011-03-3014-56/+117
|\| | | | | | | | | | | | | | Conflicts: railties/lib/rails/application/configuration.rb
| * | use assert_equal so we get normal error messages along with our custom ↵Aaron Patterson2011-03-301-3/+3
| | | | | | | | | | | | failure message
| * | Make action_method? public and change implicit rendering to override it instead.José Valim2011-03-302-19/+20
| | |
| * | Pass the proper method_name instead of hardcoding to action_name.José Valim2011-03-292-9/+11
| | | | | | | | | | | | | | | | | | Conflicts: actionpack/lib/action_controller/metal/implicit_render.rb
| * | Dont call authenticate_or_request_with_http_basic twiceDavid Heinemeier Hansson2011-03-291-4/+2
| | |
| * | Update the wildcard route to be non-greedy by default, therefore be able to ↵Prem Sichanugrist2011-03-291-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | match the (.:format) segment [#6605 state:resolved] After some discussion with Andrew White, it seems like this is a better approach for handling a wildcard route. However, user can still bring back the old behavior by supplying `:format => false` to the route. Signed-off-by: Andrew White <andyw@pixeltrix.co.uk>
| * | Fix examplesDavid Heinemeier Hansson2011-03-281-1/+1
| | |
| * | Added Base.http_basic_authenticate_with to do simple http basic ↵David Heinemeier Hansson2011-03-281-14/+16
| |/ | | | | | | authentication with a single class method call [DHH]
| * Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-03-271-7/+6
| |\
| | * Proc objects for cache_path for caches_action no longer need controller ↵Ryan Bigg2011-03-261-7/+6
| | | | | | | | | | | | object, nor to use send when calling routing helpers
| * | Add controller-specific `force_ssl` method to force web browser to use HTTPS ↵Prem Sichanugrist2011-03-283-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | protocol This would become useful for site which sometime transferring sensitive information such as account information on particular controller or action. This featured was requested by DHH.
| * | fixes a couple of regexps, the suite showed warnings about themXavier Noria2011-03-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A couple of things worth mentioning here: - "{" is a metacharacter, should be escaped if it is meant to match a "{". The code worked, though, because the regexp engine is tolerant to this, but issued warnings. - gsub accepts a string as first argument. That's the best idiom to use when your pattern has no metacharacters, since gsub interprets the string as an exact substring to look for, rather than a regexp. The benefit is that your pattern is crystal clear and needs no backslashes.
| * | Fix alias_method, add testDavid Heinemeier Hansson2011-03-271-1/+1
| | |
| * | Allow FormHelper#form_for to specify the :method as a direct option instead ↵David Heinemeier Hansson2011-03-261-2/+13
| | | | | | | | | | | | of through the :html hash [DHH]
| * | Make JavaScriptHelper#j() an alias for JavaScriptHelper#escape_javascript() ↵David Heinemeier Hansson2011-03-261-0/+5
| |/ | | | | | | -- note this then supersedes the Object#j() method that the JSON gem adds within templates using the JavaScriptHelper [DHH]
| * correction to the outputted controller name in the diagnostics error ↵Josh Kalderimis2011-03-241-1/+1
| | | | | | | | | | | | template, test included Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* | Merge branch 'master' into sprocketsJoshua Peek2011-03-302-2/+9
|\|
| * Fix filter :only and :except with implicit actionsAndrew White2011-03-231-1/+1
| | | | | | | | | | | | | | The method_name argument is "default_render" for implicit actions so use the action_name attribute to determine which callbacks to run. [#5673 state:resolved]