| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
This is a rebased version of #2520.
Conflicts:
actionpack/test/dispatch/request_test.rb
|
|\ \
| | |
| | | |
Build fix for ActionMailer
|
| | |
| | |
| | |
| | |
| | |
| | | |
See
http://travis-ci.org/#!/rails/rails/jobs/2444632
|
|/ / |
|
| |
| |
| |
| |
| |
| |
| |
| | |
It's further work on CSRF after 245941101b1ea00a9b1af613c20b0ee994a43946.
The :null_session CSRF protection method provide an empty session during
request processing but doesn't reset it completely (as :reset_session
does).
|
|\ \
| | |
| | | |
Add .rb template handler
|
| | |
| | |
| | |
| | | |
This handler simply allows arbitrary Ruby code as a template
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
Conflicts:
activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
|
| | | |
| | | |
| | | | |
In response to this rails issue: https://github.com/rails/rails/issues/3729
|
| |/ /
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Missing require caused fail of guide generation (in
action_dispatch/http/mime_type, line 295, undefined method `ends_with`
for "to_ary":String)
With this fix guides were normally generated
|
| | | |
|
| | |
| | |
| | |
| | | |
Also just set the hash value instead of merging when it's only one key.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The separation option enable to keep entire words, lines or anything.
To split by line, like github, we can set the separation option as \n.
To split by word, like google, we can set the separation option as " ".
The radius option represent the number of lines or words we want to
have in the result.
The default behaviour is the same. If we don't set the separation
option, it split the text any where.
|
|\ \ \
| | | |
| | | | |
Improve error message for memcache session store when dalli isn't loaded
|
| | | | |
|
| | | | |
|
|\| | |
| | | |
| | | | |
Use Dalli for memcache session store
|
| | | | |
|
| | | | |
|
|/ / / |
|
| | |
| | |
| | |
| | |
| | | |
This will trim down the API and avoid some error that can be made
changing the cache object.
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
We should not require all the core extensions inside the frameworks.
The logger is already defined in the Action View framework.
|
|\ \ \
| | | |
| | | | |
Fix a typo in AD
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Refactor `Mime::Type`
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
`parse` method performance improvements - ~27-33%:
accept = "image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, , pronto/1.00.00, sslvpn/1.00.00.00, */*"
Benchmark.measure{ 1_000_0.times { Mime::Type.parse(accept) }}
old: 1.430000 0.000000 1.430000 ( 1.440977)
new: 0.920000 0.000000 0.920000 ( 0.921813)
|
| | | | |
| | | | |
| | | | |
| | | | | |
authoritative enough
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Also, add documentation for alternate usage.
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | | |
This allows us to make alterations to the generated routes based on the
scope of the current mapper, and otherwise allows us to move larger
blocks of concerns out of the routes file, altogether.
|
| | | | |
|
|\ \ \ \
| |_|/ /
|/| | | |
Properly reset the session on reset_session
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Use load_for_write! to ensure a refresh of the session object.
This way the new session_id and the empty data will be stored properly.
E.g. in the case of the session cookie store this means that a new
digest will be returned to the user.
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Fixes #7478
|
|\ \ \ \ |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
SessionHash isn't a thing, and tenses are wrong.
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Method invalid_asset_host! was delegated to controller but sprockets
compile assets in their own scope without controller. And if we set asset_host
with second parameter it should raise error through invalid_asset_host!.
But since controller is nil it cannot be reached.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This reverts commit 7256cb53e0c34e510a4d59a50d120c0358cf1d99, reversing
changes made to 6ebe22c3ae716d089af1e5090ddb0d12b31af8ac.
Reason: A test was failing.
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
the example for contraint( :ip => XXXX) has an invalid regex
|
| | | | |
| | | | |
| | | | | |
escape the '.'s
|
| | | | |
| | | | |
| | | | | |
Since it uses request and response methods
|