Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | DeprecatedUnderscoreRead does not exist anymore | Aaron Patterson | 2011-12-21 | 1 | -1/+0 |
| | |||||
* | Move DefaultScope and NamedScope under Scoping | Jon Leighton | 2011-12-15 | 1 | -2/+9 |
| | |||||
* | Split out most of the AR::Base code into separate modules :cake: | Jon Leighton | 2011-12-15 | 1 | -3/+14 |
| | |||||
* | Move delegation reponsibilities of Relation to a module. Also precompile ↵ | José Valim | 2011-12-15 | 1 | -0/+1 |
| | | | | method missing calls for rofscale. | ||||
* | implements automatic EXPLAIN logging for slow queries | Xavier Noria | 2011-12-02 | 1 | -0/+2 |
| | |||||
* | Get rid of the underscore versions of attribute methods! | Jon Leighton | 2011-12-01 | 1 | -0/+1 |
| | | | | This makes me happy! | ||||
* | Extract attribute serialization code into a separate module | Jon Leighton | 2011-11-30 | 1 | -0/+1 |
| | |||||
* | Added ActiveRecord::Base.store for declaring simple single-column key/value ↵ | David Heinemeier Hansson | 2011-10-13 | 1 | -0/+1 |
| | | | | stores [DHH] | ||||
* | stop messing with the load path, load path should be adjusted in the test task | Aaron Patterson | 2011-08-26 | 1 | -7/+0 |
| | |||||
* | In 1efd88283ef68d912df215125951a87526768a51, ConnectionAdapters was put ↵ | Jon Leighton | 2011-08-16 | 1 | -1/+2 |
| | | | | under eager_autoload. Due to the requires in that file, this caused ConnectionSpecification to be loaded, which references ActiveRecord::Base, which means the database connection is established. We do not want to connect to the database when Active Record is loaded, only when ActiveRecord::Base is first referenced by the user. | ||||
* | lazy load ConnectionAdapters remove require. | Vishnu Atrai | 2011-07-22 | 1 | -1/+2 |
| | |||||
* | Rewrote AssociationPreload. | Jon Leighton | 2011-02-28 | 1 | -1/+0 |
| | |||||
* | We're in 2011, let's update our license | Prem Sichanugrist | 2011-02-22 | 1 | -1/+1 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Merge remote branch 'rails/master' into identity_map | Emilio Tagua | 2011-02-15 | 1 | -0/+4 |
|\ | | | | | | | | | | | | | | | | | | | | | | | Conflicts: activerecord/examples/performance.rb activerecord/lib/active_record/association_preload.rb activerecord/lib/active_record/associations.rb activerecord/lib/active_record/associations/association_proxy.rb activerecord/lib/active_record/autosave_association.rb activerecord/lib/active_record/base.rb activerecord/lib/active_record/nested_attributes.rb activerecord/test/cases/relations_test.rb | ||||
| * | adding a YAML Column coder for YAML serialization to db columns | Aaron Patterson | 2011-02-01 | 1 | -0/+4 |
| | | |||||
* | | Weakling is only required for JRuby. | Emilio Tagua | 2010-11-19 | 1 | -1/+0 |
| | | |||||
* | | IdentityMap - Adding Weakling and IM Base as concern | Marcin Raczkowski | 2010-11-19 | 1 | -0/+2 |
|/ | |||||
* | Always pull in version for frameworks (standardize autoload / require / none) | wycats | 2010-10-10 | 1 | -2/+2 |
| | |||||
* | Arel::Sql::Engine.new does not do anything anymore | Aaron Patterson | 2010-09-30 | 1 | -1/+1 |
| | |||||
* | mass_assignment_security moved from AR to AMo, and minor test cleanup | Josh Kalderimis | 2010-07-08 | 1 | -1/+0 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Mass assignment security refactoring | Eric Chapweske | 2010-07-08 | 1 | -0/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | eliminate alias_method_chain from ActiveRecord | wycats | 2010-05-09 | 1 | -0/+2 |
| | |||||
* | i18n -> AS/i18n | Xavier Noria | 2010-04-14 | 1 | -1/+1 |
| | |||||
* | adds missing requires for arel and i18n, prevents Arel constant from being ↵ | Xavier Noria | 2010-04-14 | 1 | -1/+3 |
| | | | | autoloaded (which was still seen), though it probably hides an issue related to dependencies | ||||
* | Replace the placeholder base_hook API with on_load. To specify some code that | wycats | 2010-03-29 | 1 | -3/+3 |
| | | | | | | | | should run during framework load do: ActiveSupport.on_load(:action_controller) do # Code run in the context of AC::Base end | ||||
* | Make many parts of Rails lazy. In order to facilitate this, | wycats | 2010-03-07 | 1 | -5/+8 |
| | | | | | | | | | | | | add lazy_load_hooks.rb, which allows us to declare code that should be run at some later time. For instance, this allows us to defer requiring ActiveRecord::Base at boot time purely to apply configuration. Instead, we register a hook that should apply configuration once ActiveRecord::Base is loaded. With these changes, brings down total boot time of a new app to 300ms in production and 400ms in dev. TODO: rename base_hook | ||||
* | Revert "Fix test load paths for those not using bundler" | Carlhuda | 2010-02-23 | 1 | -0/+1 |
| | | | | | | This reverts commit eec2d301d4ce9df9c71c1a5aa63053eb970b6818. This commit broke tests. You cannot have a file called "bundler" on the load path. | ||||
* | Fix test load paths for those not using bundler | Joshua Peek | 2010-02-15 | 1 | -1/+0 |
| | |||||
* | Move batch finders to Relation | Pratik Naik | 2010-02-12 | 1 | -1/+1 |
| | |||||
* | Updating copyright dates on all licenses | Mikel Lindsaar | 2010-02-01 | 1 | -1/+1 |
| | |||||
* | Axe AM state machine | Joshua Peek | 2010-01-30 | 1 | -1/+0 |
| | | | | We're going do it eventually, get it done before 3.0 is final. | ||||
* | Revert "Refactoring attributes/types" [#3348 state:open] | Pratik Naik | 2010-01-22 | 1 | -24/+0 |
| | | | | | | | | | | | | | | | | | This reverts commit f936a1f100e75082081e782e5cceb272885c2df7. Conflicts: activerecord/lib/active_record.rb activerecord/lib/active_record/base.rb Revert "Fixed: #without_typecast should only disable typecasting on the duplicated attributes" [#3387 state:open] This reverts commit 2831996483c6a045f1f38d8030256eb58d9771c3. Reason : It's not generating attribute methods properly, making object.column 5x slower. | ||||
* | Rename CalculationMethods to Calculations and get rid of the old ↵ | Pratik Naik | 2010-01-19 | 1 | -2/+1 |
| | | | | Calculations module | ||||
* | Autoload AR test case | Joshua Peek | 2010-01-04 | 1 | -0/+3 |
| | |||||
* | Move Relation#spawn and Relation#merge to a separate module | Pratik Naik | 2010-01-03 | 1 | -0/+1 |
| | |||||
* | Move predicate building to a stand alone PredicateBuilder class | Pratik Naik | 2010-01-01 | 1 | -0/+1 |
| | |||||
* | Fix up AR extension by using Railties module instead of Rails and requiring ↵ | Jeremy Kemper | 2009-12-30 | 1 | -1/+0 |
| | | | | ControllerRuntime at initialization time instead of boot | ||||
* | Organize Relation methods into separate modules | Pratik Naik | 2009-12-30 | 1 | -1/+8 |
| | |||||
* | Move Relation calculation methods to a separate module | Pratik Naik | 2009-12-28 | 1 | -0/+1 |
| | |||||
* | Remove ActiveRecord runtime logging from ActionPack and place in ↵ | José Valim | 2009-12-27 | 1 | -0/+1 |
| | | | | ActiveRecord, adding it through config.action_controller.include hook. | ||||
* | Flip deferrable autoload convention | Joshua Peek | 2009-12-22 | 1 | -52/+64 |
| | |||||
* | Fully expand relative rails framework paths and make sure we aren't | Joshua Peek | 2009-12-16 | 1 | -7/+8 |
| | | | | adding any to the load path more than once. | ||||
* | Reorganize autoloads: | Carlhuda | 2009-12-02 | 1 | -47/+53 |
| | | | | | | | | | | | | | | | | | | | | | * A new module (ActiveSupport::Autoload) is provide that extends autoloading with new behavior. * All autoloads in modules that have extended ActiveSupport::Autoload will be eagerly required in threadsafe environments * Autoloads can optionally leave off the path if the path is the same as full_constant_name.underscore * It is possible to specify that a group of autoloads live under an additional path. For instance, all of ActionDispatch's middlewares are ActionDispatch::MiddlewareName, but they live under "action_dispatch/middlewares/middleware_name" * It is possible to specify that a group of autoloads are all found at the same path. For instance, a number of exceptions might all be declared there. * One consequence of this is that testing-related constants are not autoloaded. To get the testing helpers for a given component, require "component_name/test_case". For instance, "action_controller/test_case". * test_help.rb, which is automatically required by a Rails application's test helper, requires the test_case.rb for all active components, so this change will not be disruptive in existing or new applications. | ||||
* | Move validator, human_name and human_attribute_name to ActiveModel, remove ↵ | José Valim | 2009-10-20 | 1 | -1/+0 |
| | | | | | | deprecated error messages and add i18n_scope and lookup_ancestors. Signed-off-by: Carl Lerche <carllerche@mac.com> | ||||
* | Use bundled env for tests only | Jeremy Kemper | 2009-10-19 | 1 | -9/+4 |
| | |||||
* | Refactoring attributes/types [#3348 state:resolved] | Eric Chapweske | 2009-10-17 | 1 | -0/+16 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Fix env path | Jeremy Kemper | 2009-10-14 | 1 | -1/+1 |
| | |||||
* | Include bundled env in toplevel require, if present | Jeremy Kemper | 2009-10-14 | 1 | -8/+10 |
| | |||||
* | No more toplevel arel sibling | Jeremy Kemper | 2009-10-14 | 1 | -4/+2 |
| | |||||
* | Merge commit 'rails/master' | Emilio Tagua | 2009-08-10 | 1 | -0/+1 |
|\ | | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/calculations.rb activerecord/lib/active_record/connection_adapters/mysql_adapter.rb activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb |