José Valim
|
e714b499cc
|
Move validator, human_name and human_attribute_name to ActiveModel, remove deprecated error messages and add i18n_scope and lookup_ancestors.
Signed-off-by: Carl Lerche <carllerche@mac.com>
|
2009-10-20 17:52:32 -07:00 |
|
Jeremy Kemper
|
2767036392
|
Use bundled env for tests only
|
2009-10-19 19:00:48 -07:00 |
|
Eric Chapweske
|
f936a1f100
|
Refactoring attributes/types [#3348 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
|
2009-10-17 12:37:15 -05:00 |
|
Jeremy Kemper
|
6be5f45019
|
Fix env path
|
2009-10-14 19:30:06 -07:00 |
|
Jeremy Kemper
|
9c52f96acb
|
Include bundled env in toplevel require, if present
|
2009-10-14 19:15:33 -07:00 |
|
Jeremy Kemper
|
df55781458
|
No more toplevel arel sibling
|
2009-10-14 19:05:06 -07:00 |
|
Emilio Tagua
|
0e2fbd80e2
|
Merge commit 'rails/master'
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
|
2009-08-10 18:07:33 -03:00 |
|
Jeff Dean
|
22f3398253
|
Introduce validates_with to encapsulate attribute validations in a class.
[#2630 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
|
2009-08-09 22:47:56 -07:00 |
|
Emilio Tagua
|
ae175a5354
|
Merge commit 'rails/master'
|
2009-08-05 14:52:07 -03:00 |
|
Joshua Peek
|
aad5a30bf2
|
Add simple support for ActiveModel's StateMachine for ActiveRecord
|
2009-08-04 11:03:57 -05:00 |
|
Emilio Tagua
|
3de59e916d
|
Merge commit 'rails/master'
Conflicts:
activerecord/lib/active_record/associations.rb
|
2009-07-31 16:21:07 -03:00 |
|
Joshua Peek
|
62fd1d3716
|
Start separating primary key concerns
|
2009-07-30 17:54:02 -05:00 |
|
Joshua Peek
|
c2b075bed0
|
Concernify AR AttributeMethods
|
2009-07-30 17:53:59 -05:00 |
|
Pratik Naik
|
e033b5d037
|
Merge docrails
|
2009-07-25 16:03:58 +01:00 |
|
Emilio Tagua
|
0e0866e056
|
Introduced ActiveRecord::Relation, a layer between an ARel relation and an AR relation
|
2009-07-21 20:21:03 -03:00 |
|
Emilio Tagua
|
a924b2f66e
|
Merge commit 'rails/master'
|
2009-06-12 16:20:27 -03:00 |
|
Joshua Peek
|
4d70359200
|
Integrate ActiveModel::Observing into ActiveRecord
|
2009-06-10 23:36:44 -05:00 |
|
Emilio Tagua
|
fd3c55f09f
|
Merge commit 'rails/master'
Conflicts:
activerecord/lib/active_record.rb
|
2009-06-02 12:36:36 -03:00 |
|
Emilio Tagua
|
2474fbb4d6
|
Set ActiveRecord as Arel engine on load.
|
2009-06-02 12:29:09 -03:00 |
|
Joshua Peek
|
69742ca8fa
|
Merge branch 'master' into active_model
Conflicts:
activemodel/lib/active_model/core.rb
activemodel/test/cases/state_machine/event_test.rb
activemodel/test/cases/state_machine/state_transition_test.rb
activerecord/lib/active_record/validations.rb
activerecord/test/cases/validations/i18n_validation_test.rb
activeresource/lib/active_resource.rb
activeresource/test/abstract_unit.rb
|
2009-05-29 16:06:21 -05:00 |
|
Emilio Tagua
|
1cc4459939
|
Merge commit 'rails/master'
Conflicts:
activerecord/lib/active_record.rb
Updated:
Arel submodule
|
2009-05-18 20:01:06 -03:00 |
|
Jeremy Kemper
|
37453e11e9
|
Revert "Get AR CI passing again by requiring the entire core_ext"
This reverts commit 8e6a18d867.
|
2009-05-18 11:55:06 -07:00 |
|
Emilio Tagua
|
a04dedd563
|
Merge commit 'rails/master'
Conflicts:
activerecord/lib/active_record/base.rb
activerecord/lib/active_record/migration.rb
activerecord/test/cases/helper.rb
|
2009-05-18 11:18:46 -03:00 |
|
Yehuda Katz
|
8e6a18d867
|
Get AR CI passing again by requiring the entire core_ext
Note that this includes Time and Date; we should
really figure out what parts of core_ext are really
required for AR and require just those.
|
2009-05-16 12:09:25 -07:00 |
|
Jeremy Kemper
|
e8550ee032
|
Cherry-pick core extensions
|
2009-05-13 12:00:15 -07:00 |
|
Jeremy Kemper
|
a7ccc7c79f
|
Remove support for deprecated validation message interpolation format
|
2009-05-13 11:43:03 -07:00 |
|
Emilio Tagua
|
d3042ef80c
|
Merge commit 'rails/master'
|
2009-05-04 19:23:34 -03:00 |
|
Chris Kampmeier
|
d3ee8756c8
|
Don't use #tap before Active Support is available, since older versions of ruby don't have native implementations
[#2603 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
|
2009-05-04 08:32:25 -07:00 |
|
Jeremy Kemper
|
945bf9c254
|
Check for sibling Active Support first
|
2009-05-02 15:16:12 -07:00 |
|
Emilio Tagua
|
a934bbbb28
|
Removed blank lines
|
2009-04-23 13:54:38 -03:00 |
|
Emilio Tagua
|
fdcd81970e
|
Require Arel
|
2009-04-23 13:54:00 -03:00 |
|
Jeremy Kemper
|
ab321268f8
|
No more free lunch
|
2009-04-22 16:10:49 -07:00 |
|
Pratik Naik
|
77acfefedf
|
Make Active Resource use ActiveModel::Errors
|
2009-03-19 23:45:08 +00:00 |
|
Pratik Naik
|
8828b2ca67
|
Move all the Active Record validations to Active Model
|
2009-03-19 23:28:59 +00:00 |
|
David Heinemeier Hansson
|
d13623ca46
|
Added ActiveRecord::Base.each and ActiveRecord::Base.find_in_batches for batch processing [DHH/Jamis Buck]
|
2009-02-23 12:11:02 +01:00 |
|
Eloy Duran
|
ec8f045844
|
Add support for nested object forms to ActiveRecord and the helpers in ActionPack
Signed-Off-By: Michael Koziarski <michael@koziarski.com>
[#1202 state:committed]
|
2009-02-01 14:44:30 +13:00 |
|
Pratik Naik
|
085991891e
|
Bump up the year in MIT license files
|
2009-01-18 05:28:21 +00:00 |
|
Yaroslav Markin
|
66ee5890c5
|
Introduce dynamic scopes for ActiveRecord: you can now use class methods like scoped_by_user_name(user_name) and scoped_by_user_name_and_password(user_name, password) that will use the scoped method with attributes you supply. [#1648 state:committed]
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
|
2008-12-28 20:52:46 +01:00 |
|
Joshua Peek
|
ed70830713
|
Switch to Rack based session stores.
|
2008-12-15 16:33:31 -06:00 |
|
Jeremy Kemper
|
9539543026
|
Add ActiveRecord::VERSION autoload
|
2008-12-10 11:01:04 -08:00 |
|
Jeremy Kemper
|
104f3a5776
|
Add config.preload_frameworks to load all frameworks at startup. Default to false so Rails autoloads itself as it's used.
|
2008-11-24 18:43:04 -08:00 |
|
Joshua Peek
|
835be0cbed
|
missed ActiveRecord::Migrator
|
2008-11-24 12:31:16 -06:00 |
|
Joshua Peek
|
d6b923adbd
|
get activerecord tests passing with lazy loading
|
2008-11-24 12:17:07 -06:00 |
|
Joshua Peek
|
703fecb4fc
|
Add LAZY env flag for testing autoload/lazy load feature
|
2008-11-24 11:37:57 -06:00 |
|
Joshua Peek
|
7254d23764
|
Autoload ActiveRecord files
|
2008-11-24 11:14:24 -06:00 |
|
Sven Fuchs
|
12118963ac
|
use :en as a default locale (in favor of :en-US)
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
|
2008-11-18 14:23:53 +01:00 |
|
Sven Fuchs
|
a3b7fa78bf
|
I18n: Introduce I18n.load_path in favor of I18n.load_translations and change Simple backend to load translations lazily. [#1048 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2008-09-20 19:26:16 +01:00 |
|
Sven Fuchs
|
8cb7d46043
|
I18n: move old-style interpolation syntax deprecation to Active Record. [#1044 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2008-09-20 19:13:50 +01:00 |
|
Marko Seppae
|
0fcd5b5466
|
I18n: removed call to #populate from main library files
|
2008-08-27 10:36:00 +02:00 |
|
Josh Susser
|
143f5fbb21
|
refactor dynamic finder name matching into its own class
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
|
2008-08-25 23:32:20 -07:00 |
|