| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|\ |
|
| | |
|
| |
| |
| |
| |
| | |
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.
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* '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
...
|
| | | |
|
| | |
| | |
| | |
| | | |
suggestion!
|
| | |
| | |
| | |
| | | |
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?.
|
| | |
| | |
| | |
| | | |
Improved formatting of csrf_helper and improved test coverage
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* '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!
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
This reverts commit 29592a7f09dda2e7e1e0a915d9230fe6a9b5c0af.
|
| | | |
| | | |
| | | |
| | | | |
This reverts commit dffeda377021ba8691381195f5a2889f8e040b93.
|
| | | | |
|
| | | | |
|
| | | | |
|
|/ / / |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
back to the client or converted to HTTP headers
|
| | | |
|
| | | |
|
| |/
|/|
| |
| | |
to the client or converted to HTTP headers
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
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
|
| | | |
|
| |/
| |
| |
| | |
level in order to use respond_with.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
navigation
Signed-off-by: José Valim <jose.valim@gmail.com>
|
| |
| |
| |
| |
| |
| | |
there are no errors
Signed-off-by: José Valim <jose.valim@gmail.com>
|
| |
| |
| |
| |
| |
| | |
default response status and error messages should be returned
Signed-off-by: José Valim <jose.valim@gmail.com>
|
| |
| |
| |
| | |
failure message
|
| | |
|
| |
| |
| |
| |
| |
| | |
Conflicts:
actionpack/lib/action_controller/metal/implicit_render.rb
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| | |
|
|/
|
|
| |
authentication with a single class method call [DHH]
|
|\ |
|
| |
| |
| |
| | |
object, nor to use send when calling routing helpers
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| |
| |
| |
| | |
of through the :html hash [DHH]
|
|/
|
|
| |
-- note this then supersedes the Object#j() method that the JSON gem adds within templates using the JavaScriptHelper [DHH]
|
|
|
|
|
|
| |
template, test included
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
|