Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add tests to prevent regression of lazy evaluation of has_many ..., ↵ | Andrew White | 2010-04-04 | 1 | -0/+18 |
| | | | | | | | | :dependent => :___ [#2627 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Use a constant proc to generate ActionView::Template finalizers. For some ↵ | Aman Gupta | 2010-04-04 | 1 | -3/+3 |
| | | | | | | strange reason, finalizers created via ActionView::Template.finalizer_for cause Template instances to leak on MRI. Signed-off-by: wycats <wycats@gmail.com> | ||||
* | Pass in the request as an optional second parameter to redirect | wycats | 2010-04-03 | 1 | -1/+1 |
| | |||||
* | * Change the object used in routing constraints to be an instance of | wycats | 2010-04-03 | 13 | -43/+152 |
| | | | | | | | | | | | ActionDispatch::Request rather than Rack::Request. * Changed ActionDispatch::Request#method to return a String, to be compatible with the Rack::Request superclass. * Changed ActionDispatch::Request#method to return the original method in the case of methodoverride and #request_method not to, to be compatible with Rack::Request | ||||
* | adds a preamble to the guides generator, documents what it does and the ↵ | Xavier Noria | 2010-04-03 | 1 | -0/+47 |
| | | | | environment variables it supports | ||||
* | Merge commit 'rails/master' | Xavier Noria | 2010-04-03 | 42 | -592/+653 |
|\ | |||||
| * | Bring back +extra_conditions+. This effectively reverts ↵ | Carl Lerche | 2010-04-03 | 2 | -4/+5 |
| | | | | | | | | 386b7bfd9d78a6d8c8bc7cc4a310df806ad0ba57 | ||||
| * | Raise a StatementInvalid error when trying to build a condition with hash ↵ | Carl Lerche | 2010-04-03 | 1 | -1/+3 |
| | | | | | | | | keys that do not correspond to columns. | ||||
| * | Sanitize association conditions using the correct class | Carl Lerche | 2010-04-03 | 1 | -1/+1 |
| | | |||||
| * | Refactored url_for in AV to have its own instances of the helpers instead of ↵ | wycats | 2010-04-03 | 14 | -313/+338 |
| | | | | | | | | proxying back to the controller. This potentially allows for more standalone usage of AV. It also kicked up a lot of dust in the tests, which were mocking out controllers to get this behavior. By moving it to the view, it made a lot of the tests more standalone (a win) | ||||
| * | Make the query built by has_many ...., :dependent => :____ lazy since all ↵ | Carl Lerche | 2010-04-02 | 2 | -50/+32 |
| | | | | | | | | the information is not really available yet. | ||||
| * | Remove an unused argument | Carl Lerche | 2010-04-02 | 1 | -2/+1 |
| | | |||||
| * | Fix memory leak in dev mode | wycats | 2010-04-02 | 2 | -0/+17 |
| | | |||||
| * | Improve scope docs | Pratik Naik | 2010-04-03 | 1 | -30/+14 |
| | | |||||
| * | Improve named scope lambda | Pratik Naik | 2010-04-03 | 1 | -13/+4 |
| | | |||||
| * | Remove unnecessary argument for creating scopes | Pratik Naik | 2010-04-03 | 1 | -4/+4 |
| | | |||||
| * | Fixing index style [#4313 state:committed] | Santiago Pastorino | 2010-04-02 | 1 | -1/+2 |
| | | | | | | | | Signed-off-by: wycats <wycats@gmail.com> | ||||
| * | Key partial name cache on controller and object class *names* to avoid ↵ | Jeremy Kemper | 2010-04-02 | 1 | -2/+2 |
| | | | | | | | | memory leaks in dev mode | ||||
| * | CI: omit ruby-debug19 from Gemfile since the ruby source dep hoses permissions | Jeremy Kemper | 2010-04-02 | 1 | -1/+1 |
| | | |||||
| * | delegate unknown timezones to TZInfo | Santiago Pastorino | 2010-04-02 | 2 | -5/+20 |
| | | |||||
| * | utc_offset is no longer required on TimeZone and if it's not supplied we ↵ | Santiago Pastorino | 2010-04-02 | 1 | -61/+18 |
| | | | | | | | | delegate to TZInfo | ||||
| * | Add a test which ensures action_dispatch.show_exceptions is properly disabled. | José Valim | 2010-04-02 | 3 | -4/+8 |
| | | |||||
| * | Raise exceptions instead of rendering error templates in test environment ↵ | Rolf Bjaanes | 2010-04-02 | 3 | -2/+6 |
| | | | | | | | | | | | | [#4315 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
| * | Make Relation#inspect less noisy | Pratik Naik | 2010-04-02 | 1 | -0/+4 |
| | | |||||
| * | Goodbye ActiveRecord::NamedScope::Scope | Pratik Naik | 2010-04-02 | 3 | -36/+29 |
| | | |||||
| * | Make Relation#first and Relation#last behave like named scope's | Pratik Naik | 2010-04-02 | 2 | -18/+18 |
| | | |||||
| * | Scope#method_missing can safely rely on Relation#method_missing | Pratik Naik | 2010-04-02 | 1 | -10/+0 |
| | | |||||
| * | Scope#current_scoped_methods_when_defined is no longer needed | Pratik Naik | 2010-04-02 | 1 | -13/+2 |
| | | |||||
| * | Merge branch 'master' of git://github.com/rails/rails | José Valim | 2010-04-02 | 9 | -16/+81 |
| |\ | |||||
| | * | Oops :extends is not a MULTI_VALUE_METHOD | Pratik Naik | 2010-04-02 | 1 | -1/+1 |
| | | | |||||
| | * | Add Relation extensions | Pratik Naik | 2010-04-02 | 7 | -15/+68 |
| | | | |||||
| | * | Consistency when using Relation constants | Pratik Naik | 2010-04-02 | 1 | -2/+2 |
| | | | |||||
| | * | errors.rb needs to be declared as UTF-8 [#3941 state:resolved] | Aaron Patterson | 2010-04-02 | 2 | -0/+12 |
| | | | | | | | | | | | | Signed-off-by: wycats <wycats@gmail.com> | ||||
| * | | Maintain the usage of :as consistent in the router. Whenever it's supplied, ↵ | José Valim | 2010-04-02 | 2 | -33/+71 |
| |/ | | | | | | | it changes the NAMED ROUTE. If you want to change the PATH, use :path instead. Example: resources :projects, :path => 'projetos' | ||||
* | | guides: warn about edge guides at the top of the home preamble, and mention ↵ | Xavier Noria | 2010-04-02 | 1 | -11/+15 |
| | | | | | | | | that only for edge guides, stable guides need no warning | ||||
* | | guides: badge insertion was a quick hack, rewrites that | Xavier Noria | 2010-04-02 | 3 | -13/+28 |
| | | |||||
* | | Routing guide updated for new Routes DSL. It still misses the new features. | Rizwan Reza | 2010-04-02 | 1 | -117/+28 |
| | | |||||
* | | Merge branch 'master' of git://github.com/rails/rails | Rizwan Reza | 2010-04-02 | 38 | -349/+462 |
|\| | |||||
| * | Restore changed_attributes method in ActiveModel::Dirty and loosen ↵ | Sam Pohlenz | 2010-04-01 | 2 | -13/+12 |
| | | | | | | | | | | | | | | | | expectation on including class' initialize method. [#4308 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
| * | Slightly less annoying check for acceptable mime_types. This allows Accept: ↵ | Paul Sadauskas | 2010-04-01 | 1 | -2/+2 |
| | | | | | | | | application/json, application/jsonp (and the like), but still blacklists browsers. Essentially, we use normal content negotiation unless you include */* in your list, in which case we assume you're a browser and send HTML [#3541 state:resolved] | ||||
| * | Fix class_attribute so that it works with singleton classes. | Carl Lerche | 2010-04-01 | 2 | -1/+7 |
| | | |||||
| * | Release is today, yo | David Heinemeier Hansson | 2010-04-01 | 5 | -5/+10 |
| | | |||||
| * | Updated changelogs to differentiate beta1 and beta2 | wycats | 2010-04-01 | 6 | -8/+15 |
| | | |||||
| * | Updated changelogs | wycats | 2010-04-01 | 5 | -259/+320 |
| | | |||||
| * | Bump this guy too | David Heinemeier Hansson | 2010-04-01 | 1 | -1/+1 |
| | | |||||
| * | Neat and tidy, I say | David Heinemeier Hansson | 2010-04-01 | 5 | -14/+19 |
| | | |||||
| * | Make your bed and clean up your gemspecs! | David Heinemeier Hansson | 2010-04-01 | 1 | -10/+10 |
| | | |||||
| * | Not needed with RubyGems 1.3.6 | David Heinemeier Hansson | 2010-04-01 | 1 | -27/+0 |
| | | |||||
| * | Prep for beta2, depend on latest Bundler | David Heinemeier Hansson | 2010-04-01 | 10 | -10/+10 |
| | | |||||
| * | Read postgresql encoding using string key instead of symbol [#4304 ↵ | Doug Richardson | 2010-04-01 | 1 | -1/+1 |
| | | | | | | | | | | | | state:resolved] Signed-off-by: wycats <wycats@gmail.com> |