Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Cache the symbolized path parameters using a instance variable in the ↵ | Andrew White | 2010-08-22 | 3 | -3/+29 |
| | | | | | | | | | | | request object rather than the environment hash. This it to prevent stale parameters in later routing constraints/redirects as only the normal path parameters are set by Rack::Mount. Also if a constraint proc arity is more than one, pass the symbolized path parameters as the first argument to match redirect proc args and provide easier access. [#5157 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Set default_internal and default_external on AS for testing purposes | Santiago Pastorino | 2010-08-22 | 1 | -0/+8 |
| | |||||
* | Set default_internal and default_external on AM for testing purposes | Santiago Pastorino | 2010-08-21 | 1 | -1/+8 |
| | |||||
* | Move encoding settings for testing purposes to abstract_unit file | Santiago Pastorino | 2010-08-21 | 2 | -9/+6 |
| | |||||
* | Trifling typos | Raphomet | 2010-08-21 | 3 | -5/+5 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | reload bob after his journy to a new timezone | Brian Lopez | 2010-08-20 | 1 | -0/+1 |
| | |||||
* | Revert "Just add connection management middleware if running in a concurrent ↵ | Jeremy Kemper | 2010-08-20 | 3 | -19/+7 |
| | | | | | | environment." This reverts commit 6b29dc876fe185881d46731c3ae170478a3828fe. | ||||
* | prevent RDoc from autolinking "Rails" in the API home page | Xavier Noria | 2010-08-21 | 1 | -8/+8 |
| | |||||
* | requires horo 1.0.2 | Xavier Noria | 2010-08-21 | 1 | -1/+1 |
| | |||||
* | Fix hash modification during iteration in Mapper [#5420] | Nick Sieger | 2010-08-20 | 1 | -1/+1 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Support routing constraints in functional tests | Andrew White | 2010-08-20 | 3 | -17/+40 |
| | | | | | | | | | | Extend assert_recognizes and assert_generates to support passing full urls as the path argument. This allows testing of routing constraints such as subdomain and host within functional tests. [#5005 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | adding FOUND_ROWS to the connect flags for mysql2 | Aaron Patterson | 2010-08-20 | 1 | -0/+5 |
| | |||||
* | Merge remote branch 'rails/master' | Xavier Noria | 2010-08-20 | 47 | -276/+401 |
|\ | |||||
| * | after_validation should be called irrespective of the result of validation. | Neeraj Singh | 2010-08-20 | 3 | -1/+12 |
| | | | | | | | | | | | | | | | | I confirmed that this is the behavior on 2.3.x . [5419 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
| * | Don't add the standard https port when using redirect in routes.rb and ↵ | Andrew White | 2010-08-20 | 4 | -1/+65 |
| | | | | | | | | | | | | | | | | ensure that request.scheme returns https when using a reverse proxy. [#5408 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
| * | Allow symbols for :path resource(s) option [#5306 state:resolved] | Andrew White | 2010-08-20 | 2 | -2/+21 |
| | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
| * | deletes the rdoc task of each component, they are no longer published separately | Xavier Noria | 2010-08-20 | 7 | -129/+0 |
| | | |||||
| * | the pdoc task is no longer needed | Xavier Noria | 2010-08-20 | 1 | -6/+0 |
| | | |||||
| * | fisting after_rollback and after commit callbacks | Aaron Patterson | 2010-08-20 | 3 | -6/+15 |
| | | |||||
| * | Bump up tzinfo to 0.3.23 | Santiago Pastorino | 2010-08-20 | 3 | -3/+3 |
| | | |||||
| * | updates return number of rows matched rather than number of rows affected | Aaron Patterson | 2010-08-19 | 1 | -0/+1 |
| | | |||||
| * | Optimize find_sti_class when store_full_sti_class is true | Andrew White | 2010-08-19 | 1 | -1/+5 |
| | | | | | | | | | | | | [#5403] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
| * | Use attribute readers as they are faster in general. | José Valim | 2010-08-19 | 1 | -8/+2 |
| | | |||||
| * | Move regexps in options hash to :constraints hash so that they are pushed ↵ | Andrew White | 2010-08-19 | 2 | -0/+26 |
| | | | | | | | | | | | | into the scope [#5208 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
| * | Move edit route before show route so that it will have precedence if the :id ↵ | Andrew White | 2010-08-19 | 2 | -2/+18 |
| | | | | | | | | | | | | parameter allows slashes [#5409 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
| * | While creating a new record using has_many create method default scope of ↵ | Neeraj Singh | 2010-08-19 | 6 | -5/+45 |
| | | | | | | | | | | | | | | | | | | | | | | child should be respected. author.posts.create should take into account default_scope defined on post. [#3939: state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
| * | Bump up rack-mount to 0.6.10 | Santiago Pastorino | 2010-08-19 | 2 | -2/+2 |
| | | |||||
| * | removing useless ternary | Aaron Patterson | 2010-08-19 | 2 | -2/+2 |
| | | |||||
| * | we should wrap strings as sql literals | Aaron Patterson | 2010-08-19 | 1 | -1/+1 |
| | | |||||
| * | We need bundle update only here | Santiago Pastorino | 2010-08-19 | 1 | -1/+1 |
| | | |||||
| * | Memoize STI class lookups for the duration of a request | Jeremy Kemper | 2010-08-19 | 2 | -3/+3 |
| | | |||||
| * | refactor if / else to ||= | Aaron Patterson | 2010-08-18 | 1 | -5/+1 |
| | | |||||
| * | avoids warnings about mismatched indentations in Ruby 1.9.2 | Xavier Noria | 2010-08-19 | 2 | -9/+6 |
| | | |||||
| * | now for real, the suite loads everything and these went unpatched | Xavier Noria | 2010-08-19 | 1 | -3/+3 |
| | | |||||
| * | avoids a ton o warnings ↵ | Xavier Noria | 2010-08-19 | 2 | -4/+7 |
| | | | | | | | | activesupport/lib/active_support/dependencies.rb:239: warning: loading in progress, circular require considered harmful ... activesupport/lib/active_support/core_ext/hash/indifferent_access.rb while running the suite in Ruby 1.9.2 | ||||
| * | get rid of the warning "+ after local variable is interpreted as binary ↵ | Xavier Noria | 2010-08-19 | 1 | -13/+13 |
| | | | | | | | | operator even though it seems like unary operator" in Ruby 1.9.2 | ||||
| * | Revert "It's snowing!" | wycats | 2010-08-18 | 3 | -3/+3 |
| | | | | | | | | This reverts commit e4283007d607454acf97301821ba1e1c417bdead. | ||||
| * | refactoring to remove duplicate logic | Aaron Patterson | 2010-08-18 | 1 | -4/+3 |
| | | |||||
| * | call to present? is not necessary | Aaron Patterson | 2010-08-18 | 1 | -2/+1 |
| | | |||||
| * | Don't pluralize resource methods [#4704 state:resolved] | Javier Martín | 2010-08-18 | 2 | -14/+76 |
| | | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
| * | Bump up rdoc to 2.5.10 | Santiago Pastorino | 2010-08-18 | 9 | -9/+9 |
| | | |||||
| * | run the AS tests in verbose mode | Aaron Patterson | 2010-08-17 | 1 | -0/+1 |
| | | |||||
| * | 1.8 block variable shadowing strikes again | wycats | 2010-08-17 | 1 | -2/+2 |
| | | |||||
| * | Sadly, this segv's in 1.8 :( | wycats | 2010-08-17 | 2 | -43/+61 |
| | | |||||
| * | Allow member actions (get, etc) to accept strings, with test | Andre Arko | 2010-08-17 | 2 | -1/+2 |
| | | |||||
* | | Patch for Lighthouse ticket #5419 has been been applied. So reverting this one. | Neeraj Singh | 2010-08-20 | 2 | -5/+1 |
| | | | | | | | | | | | | Revert "documentation regarding after_validation" This reverts commit c24aa2f2dca52e1b0ee644e407389f6e89f53007. | ||||
* | | documentation regarding after_validation | Neeraj Singh | 2010-08-20 | 2 | -1/+5 |
| | | |||||
* | | Note about validates_presence_of and nested attributes | Trevor Turk | 2010-08-19 | 1 | -0/+16 |
| | | |||||
* | | Note about using attr_accessible with nested attributes | Trevor Turk | 2010-08-19 | 1 | -0/+12 |
| | | |||||
* | | Use COALESCE in update_counters docs to reflect the implementation | Carlos Antonio da Silva | 2010-08-18 | 1 | -3/+3 |
| | |