| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ \ \ \
| |/ / /
|/| | | |
modulize AR::NullRelation
|
| | | | |
|
|/ / /
| | |
| | |
| | | |
now we can invoke previously added scope extension methods
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | | |
* master-sec:
Strip [nil] from parameters hash. Thanks to Ben Murphy for reporting this!
predicate builder should not recurse for determining where columns. Thanks to Ben Murphy for reporting this
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Thanks to Ben Murphy for reporting this!
CVE-2012-2660
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Thanks to Ben Murphy for reporting this
CVE-2012-2661
|
| | | | |
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
jeremyf/extract-force-ssl-filter-logic-to-separate-method
Extracted redirect logic from ActionController::Force::ClassMethods.forc...
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Prior to this patch the existing .force_ssl method handles both defining
the filter and handling the logic for performing the redirect.
With this patch the logic for redirecting to the HTTPS protocol is
separated from the filter logic that determines if a redirect should
occur. By separating the two levels of behavior, an instance method
for ActionController (i.e. #force_ssl_redirect) is exposed and available
for more granular SSL enforcement.
Cleaned up indentation.
|
| | | | |
| | | | |
| | | | |
| | | | | |
Eliminate the warnings generated by redefining methods and constants.
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
Add code statistics for Javascript and CoffeeScript files
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
CoffeeScript files to `rake stats` task
Orignal PR was #2270
Thanks to @nfm
|
| | | | |
| | | | |
| | | | |
| | | | | |
Missed that too, thanks again @splattael.
|
| | | | |
| | | | |
| | | | |
| | | | | |
Thanks @splattael.
|
| | | | |
| | | | |
| | | | |
| | | | | |
Add some tests for link_to with blocks and escaping content.
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Prefer Hash#[]= over Hash#merge when setting a value.
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | | |
Remove :to_sym call from public_instance_methods iteration, as such
methods in Ruby 1.9 already return symbols. Initialize valid conditions
with controller/action instead of setting them afterwards.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
serialized values to indifferent access.
|
| | | |
| | | |
| | | |
| | | | |
This will fix the travis-ci build
|
| | | |
| | | |
| | | |
| | | | |
f4d7af67ffc90f2542afa50c7579fc83ea4f45f2
|
|\ \ \ \
| | | | |
| | | | | |
Changed symbol platform to platforms for the commented out call to gem 'therubyracer'.
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | | |
'therubyracer'.
Dependency.rb expects the symbol to be named :platforms as opposed to platform. RubyMine's inspections indicate that the symbol should be named :platforms.
|
|\ \ \ \
| | | | |
| | | | | |
Fix various bugs with console arguments and improve test coverage
|
| | | | | |
|
|/ / / /
| | | |
| | | |
| | | | |
Allow hyphens in environment names again.
|
|\ \ \ \
| | | | |
| | | | | |
Properly discover a connection is closed in postgresql_adapter
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
PQstatus doesn't properly test if future operations will succeed. A
PQping function is added to libpq in PostgreSQL 9.1, but if we rely
on it, everyone on earlier versions of Postgres is out of luck,
and the pg gem wouldn't have the 'fix' until the next release.
Thanks to @cbrecabarren and @ged for handling all the dirty details.
Closes #3392.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
accept a block in button_to helper
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Make possible to use a block in button_to helper if button text is hard
to fit into the name parameter, e.g.:
<%= button_to [:make_happy, @user] do %>
Make happy <strong><%= @user.name %></strong>
<% end %>
# => "<form method="post" action="/users/1/make_happy" class="button_to">
# <div>
# <button type="submit">
# Make happy <strong>Name</strong>
# </button>
# </div>
# </form>"
|
| | | | | | |
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
Remove deprecated ActiveSupport::JSON::Variable.
|
| | | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
tjouan/tj/activesupport-fix-tests-requiring-unsafe-umask
Make tests pass with umask
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Assertions on file permissions only pass with some combinations of
file create mode and the process file mode creation mask. This mask
should be applied on the file create mode before related assertions.
|
|\ \ \ \ \ \ \
| | |_|_|_|_|/
| |/| | | | | |
Remove Unused Route Reloading Code
|
|/ / / / / /
| | | | | |
| | | | | | |
Since the environment is initialized each time rake is run, routes don't need to be re-loaded. https://github.com/rails/rails/pull/6461#r869953
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Fix #5797. Error calling dup method on AR model with serialized field
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Fix logs name consistency.
|
| | | | | | | | |
|
| | | | | | | | |
|
| |_|_|_|_|_|/
|/| | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
first(limit) and last(limit)""
This reverts commit 5559a2ae98dcda6854f38890025b52edfb2836f5.
Reason: These are for selecting multiple objects and there isn't a need
to club them with the selecting single objects section, as discussed
with the author.
|
|\ \ \ \ \ \ \
| |_|_|_|/ / /
|/| | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|