aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* removes /i from the TRUSTED_PROXIES regexp, adds /x and comments for ↵Xavier Noria2010-09-121-2/+10
| | | | readability, adds a pointer to a Wikipedia section that documents the matched IPs
* added block arguments to ActionController::Metal#useCollin Miller2010-09-123-4/+41
| | | | | | | | | | | Useful for cases such as warden, where a block configuration is taken. class SomeController < ApplicationController use RailsWarden::Manager do |manager| manager.default_strategies :facebook_oauth manager.failure_app = SomeController.action(:authorize) end end
* gets rid of a double negation, no need to force exactly true/false in a ↵Xavier Noria2010-09-121-4/+4
| | | | predicate
* Fix routing testPiotr Sarnacki2010-09-111-4/+2
| | | | Signed-off-by: Mikel Lindsaar <raasdnil@gmail.com>
* Change singular to param_key in form_helper, param_key is now used for ↵Piotr Sarnacki2010-09-111-2/+2
| | | | | | generating field names Signed-off-by: Mikel Lindsaar <raasdnil@gmail.com>
* Partial revert of commit #7fae0aa4ac116 removing ↵Mikel Lindsaar2010-09-111-5/+0
| | | | | | | action_dispatch.prepare_dispatcher per commit #48bf667a8b1 See line note: http://github.com/rails/rails/commit/7fae0aa4ac116bcbf522a9a4f19972c653d366fa#commitcomment-145148
* revises implementation and documentation of csrf_meta_tags, and aliases ↵Xavier Noria2010-09-117-14/+34
| | | | csrf_meta_tag to it for backwards compatibilty
* Merge remote branch 'drogus/engines'wycats2010-09-119-12/+41
|\
| * Set default asset_path only for enginePiotr Sarnacki2010-09-102-0/+29
| |
| * Fix warning by removing |map| from routes.drawPiotr Sarnacki2010-09-081-1/+1
| |
| * Change app to main_app in mounted_helpersPiotr Sarnacki2010-09-085-8/+8
| |
| * Do not require passing :app to mounted helpers, it's actually useless and ↵Piotr Sarnacki2010-09-084-4/+4
| | | | | | | | not DRY
* | Updating ActionMailer dependency to 2.2.6Mikel Lindsaar2010-09-111-1/+1
| |
* | passing the quoted id to arel if the object has a quoted idAaron Patterson2010-09-101-1/+3
| |
* | converting an inject to a map + Hash[]Aaron Patterson2010-09-101-1/+1
| |
* | Add more examples in performance script.Emilio Tagua2010-09-101-0/+17
| | | | | | | | | | | | [#5610 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* | Ruby 1.9 compat: convert Pathname to stringJeremy Kemper2010-09-101-1/+1
| |
* | Include addressable for AR perf benchJeremy Kemper2010-09-101-0/+1
| |
* | Switch back to mysql for easier comparisonJeremy Kemper2010-09-101-1/+1
| |
* | specific number of spaces should not be enforcedAaron Patterson2010-09-101-1/+1
| |
* | append asset IDs to the examples of the RDoc of #javascript_include_tag, and ↵Xavier Noria2010-09-101-32/+32
| | | | | | | | quick edit pass
* | avoid method_missing and reduce method callsAaron Patterson2010-09-101-1/+1
| |
* | intersection between a relation and an array works in both directionsMarcelo Giorgi2010-09-101-0/+1
| | | | | | | | Signed-off-by: Mikel Lindsaar <raasdnil@gmail.com>
* | added a test for relation which checks intersection between a relation and ↵kane2010-09-101-0/+6
| | | | | | | | | | | | an array works in both directions Signed-off-by: Mikel Lindsaar <raasdnil@gmail.com>
* | fixed Subject model after_initialize callback for test_oracle_synonym testRaimonds Simanovskis2010-09-091-3/+7
| |
* | Add configuration option for tld lengthSimon Jefford2010-09-094-4/+28
| |
* | Let YARD document the railties gemBrian Cardarella2010-09-091-0/+1
| |
* | Simplify form_for by removing *args and extract_options! (at asakusa.rb)wycats2010-09-091-15/+16
| |
* | Cheaper attribute reads and respond_to?. Add underscore-prefixed method ↵Jeremy Kemper2010-09-093-7/+12
| | | | | | | | aliased to the attribute name so it can be overridden but still called internally.
* | Fewer object allocationsJeremy Kemper2010-09-092-11/+9
| |
* | Cheaper attribute_method_matchersJeremy Kemper2010-09-091-9/+10
| |
* | Cache unserialized attributesJeremy Kemper2010-09-093-20/+26
| |
* | AR perf test: switch to mysql2, bundle faker and rbenchJeremy Kemper2010-09-092-1/+6
| |
* | Fix require for class_attributeJeremy Kemper2010-09-091-1/+1
| |
* | Refactor finder conditions look up and assigment for apply_finder_conditions.Emilio Tagua2010-09-091-13/+7
| |
* | Refactor Relation#only. No need to go through every option and test it.Emilio Tagua2010-09-091-8/+6
| |
* | Add tests for Relation#only.Emilio Tagua2010-09-091-0/+11
| |
* | No need to go through every option and test it, just don't add skipped ones.Emilio Tagua2010-09-091-4/+4
| |
* | return is not needed hereNeeraj Singh2010-09-091-2/+2
| |
* | remove unnecessary callNeeraj Singh2010-09-091-1/+0
| | | | | | | | if operation is count then column_name will never be blank
* | creating a new array is required. who knew? :-(Aaron Patterson2010-09-091-1/+1
| |
* | no need for Array.wrap, also avoid array creationAaron Patterson2010-09-091-5/+4
| |
* | make apply_modules run fasterNeeraj Singh2010-09-091-3/+5
| |
* | Fixing up rails application init command - Rails Guides ticket 32Mikel Lindsaar2010-09-091-8/+8
| |
* | Adding linkage to redirect_to from Base and adding status code option referenceMikel Lindsaar2010-09-092-2/+6
| |
* | eliminate present? for fewer method callsAaron Patterson2010-09-081-10/+2
| |
* | returning arrays lets us avoid Array.wrapAaron Patterson2010-09-081-4/+4
| |
* | removing unnecessary conditional testAaron Patterson2010-09-081-4/+4
| |
* | switch to blank? to avoid method callsAaron Patterson2010-09-081-6/+6
| |
* | refactor to use faster empty?Aaron Patterson2010-09-081-1/+3
| |