José Valim
|
78afe68afb
|
Merge remote branch 'joshk/redirect_routing'
Conflicts:
actionpack/CHANGELOG
actionpack/lib/action_controller/metal/mime_responds.rb
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2010-12-03 12:27:50 +01:00 |
|
Aaron Patterson
|
9a3e29e126
|
remove calls to deprecated methods
|
2010-12-02 15:56:55 -08:00 |
|
Aaron Patterson
|
b0fc912f1b
|
avoid deprecate api
|
2010-12-02 15:50:34 -08:00 |
|
Aaron Patterson
|
8c9b5e413f
|
removing more calls to deprecated methods
|
2010-12-02 15:07:01 -08:00 |
|
Aaron Patterson
|
ead0c6eed3
|
removing more calls to deprecated methods
|
2010-12-02 15:07:00 -08:00 |
|
Aaron Patterson
|
12b9920a15
|
removing calls to deprecated methods
|
2010-12-02 15:07:00 -08:00 |
|
Aaron Patterson
|
9f0133fbf4
|
refactor self.class to a variable
|
2010-12-02 15:07:00 -08:00 |
|
Santiago Pastorino
|
ae35a36afc
|
:method: is not needed when RDoc can detect it
|
2010-12-02 20:31:06 -02:00 |
|
Santiago Pastorino
|
21eadc1b3f
|
Base#[] and Base#[]= are aliases so implement them as aliases :)
|
2010-12-02 20:28:28 -02:00 |
|
Santiago Pastorino
|
42c51b8527
|
Doesn't need to sort, lets users of attribute_names sort them if they want
|
2010-12-02 20:28:24 -02:00 |
|
Aaron Patterson
|
6673d88f6f
|
avoiding deprecated methods in arel
|
2010-12-02 14:02:52 -08:00 |
|
Aaron Patterson
|
15633519f7
|
removing some calls to insert on arel
|
2010-12-02 14:02:52 -08:00 |
|
Santiago Pastorino
|
acbabd9626
|
Don't compute this string again
|
2010-12-02 15:43:12 -02:00 |
|
Alex Rothenberg
|
deb90d9485
|
made in_clause_length default nil (no limit)
|
2010-12-02 08:53:19 -08:00 |
|
Aaron Patterson
|
077ec5a0ed
|
fixing space errors
|
2010-12-02 08:45:37 -08:00 |
|
Aaron Patterson
|
da6ce2e253
|
adding a test for YAML round trip
|
2010-12-02 08:44:48 -08:00 |
|
Michael Koziarski
|
96eec090df
|
Work around a strange piece of Syck behaviour where it checks Model#respond_to? before initializing the object.
Things like YAML.load(YAML.dump(@post)) won't work without this.
|
2010-12-02 08:40:34 -08:00 |
|
Aaron Patterson
|
0afebd5b31
|
no need for self
|
2010-12-01 18:00:24 -08:00 |
|
Aaron Patterson
|
3ec212e3c9
|
rolling out migrated_at until I can fix the build
|
2010-12-01 17:08:01 -08:00 |
|
Aaron Patterson
|
c15c14563e
|
removing duplicate test
|
2010-12-01 15:14:56 -08:00 |
|
Aaron Patterson
|
85a5318c2b
|
should not to_s the possibly nil value
|
2010-12-01 15:14:10 -08:00 |
|
Aaron Patterson
|
4232454289
|
make sure we have a value in migrated_at
|
2010-12-01 15:07:44 -08:00 |
|
Aaron Patterson
|
7d2179608c
|
not all databases return dates as strings
|
2010-12-01 14:59:17 -08:00 |
|
Aaron Patterson
|
754493c790
|
updating CHANGELOG
|
2010-12-01 14:35:57 -08:00 |
|
Aaron Patterson
|
c266a6bf0f
|
fixing tests and warnings
|
2010-12-01 14:33:59 -08:00 |
|
Josh Susser
|
a49de9811a
|
tests mostly pass
adjust to work with instance-based migations
migrated_at can't be null
why must people have last names? it's killing me!
|
2010-12-01 12:01:56 -08:00 |
|
Josh Susser
|
b07c2c0fd3
|
clear schema_migrations in Schema.define
|
2010-12-01 11:01:15 -08:00 |
|
Josh Susser
|
7139aa878c
|
name in schema_migrations, migrations in schema dump
|
2010-12-01 10:57:38 -08:00 |
|
Josh Susser
|
4e4e9ad48a
|
record migration timestamp when migrations run
|
2010-12-01 10:46:29 -08:00 |
|
Josh Susser
|
c283cdd63c
|
Add migrated_at column to schema_migrations table.
|
2010-12-01 10:46:29 -08:00 |
|
Thilo Utke
|
7148b933c4
|
ActiveModel::Errors.to_hash returns plain OrderedHash and used in to_json serialization to properly handle multiple errors per attribute [#5615 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2010-12-01 11:43:37 +01:00 |
|
José Valim
|
1ec126dd37
|
Revert "Fix generation of wrong json string when field has multiple errors"
This reverts commit a9b666b51d.
|
2010-12-01 11:42:30 +01:00 |
|
José Valim
|
ba63c0a9b5
|
Deprecate handler_class_for_extension as template handlers can be any Ruby object, not necessarily a class.
|
2010-12-01 11:22:48 +01:00 |
|
Aaron Patterson
|
831a2342c6
|
just use alias
|
2010-11-30 20:04:31 -08:00 |
|
Aaron Patterson
|
542cb5c327
|
fix warnings, stop using global variables
|
2010-11-30 18:46:56 -08:00 |
|
Aaron Patterson
|
10b1887a71
|
JoinBase initialize can be deleted
|
2010-11-30 17:48:10 -08:00 |
|
Aaron Patterson
|
d51854a6be
|
stop using splat args when we do not need them
|
2010-11-30 17:42:17 -08:00 |
|
Aaron Patterson
|
7408b6ec84
|
just grep the AST for OuterJoin nodes rather than converting the tree to SQL
|
2010-11-30 17:29:19 -08:00 |
|
Aaron Patterson
|
f1758525f9
|
reduce method calls on arel
|
2010-11-30 16:51:03 -08:00 |
|
Aaron Patterson
|
39f5fc06cb
|
just call join_sql against the manager object
|
2010-11-30 16:42:21 -08:00 |
|
Aaron Patterson
|
22b01c52c7
|
isolating eager_loading? method
|
2010-11-30 16:10:49 -08:00 |
|
Aaron Patterson
|
fe522f79c7
|
we already know it is already an array, so we do not need to make really really sure it is an array
|
2010-11-30 15:53:04 -08:00 |
|
Aaron Patterson
|
ae6033331f
|
shorten up scope_for_create
|
2010-11-30 15:48:15 -08:00 |
|
Aaron Patterson
|
b293ab7c61
|
making sure scope_for_create value is cached
|
2010-11-30 15:45:32 -08:00 |
|
Aaron Patterson
|
b2e7d1e41e
|
surrounding scope_for_create behavior
|
2010-11-30 15:44:30 -08:00 |
|
Aaron Patterson
|
7ff980031b
|
scope_for_create always returns something
|
2010-11-30 15:39:49 -08:00 |
|
Aaron Patterson
|
dccf624b64
|
Ruby 1.8, how does it work?
|
2010-11-30 15:20:27 -08:00 |
|
Aaron Patterson
|
c856e25b32
|
removing arel 1.0 compatibility
|
2010-11-30 14:56:53 -08:00 |
|
Aaron Patterson
|
3ad0779e56
|
testing combined nodes are not traversed
|
2010-11-30 14:56:32 -08:00 |
|
Aaron Patterson
|
795dc3d15f
|
adding more tests surrounding where_values_hash
|
2010-11-30 14:47:55 -08:00 |
|