Xavier Noria
|
d033b237c4
|
the pdoc task is no longer needed
|
2010-08-20 13:33:51 +02:00 |
|
Aaron Patterson
|
809a04ba8f
|
fisting after_rollback and after commit callbacks
|
2010-08-20 00:06:32 -07:00 |
|
Santiago Pastorino
|
ac66de4a82
|
Bump up tzinfo to 0.3.23
|
2010-08-20 02:46:10 -03:00 |
|
Aaron Patterson
|
e509d4afc9
|
updates return number of rows matched rather than number of rows affected
|
2010-08-19 19:13:35 -07:00 |
|
Andrew White
|
ad063263bc
|
Optimize find_sti_class when store_full_sti_class is true
[#5403]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
|
2010-08-19 16:03:37 -05:00 |
|
José Valim
|
8f2b2781b0
|
Use attribute readers as they are faster in general.
|
2010-08-19 15:15:46 -03:00 |
|
Andrew White
|
6b52a58f72
|
Move regexps in options hash to :constraints hash so that they are pushed into the scope [#5208 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2010-08-19 15:09:46 -03:00 |
|
Andrew White
|
1031fe1478
|
Move edit route before show route so that it will have precedence if the :id parameter allows slashes [#5409 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2010-08-19 15:09:40 -03:00 |
|
Neeraj Singh
|
758f01d49e
|
While creating a new record using has_many create method default scope of 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>
|
2010-08-19 15:09:34 -03:00 |
|
Santiago Pastorino
|
21c9795c15
|
Bump up rack-mount to 0.6.10
|
2010-08-19 14:50:06 -03:00 |
|
Aaron Patterson
|
49e406efb7
|
removing useless ternary
|
2010-08-19 10:46:01 -07:00 |
|
Aaron Patterson
|
1ef9b98a31
|
we should wrap strings as sql literals
|
2010-08-19 10:35:23 -07:00 |
|
Santiago Pastorino
|
bef90f8449
|
We need bundle update only here
|
2010-08-19 14:13:54 -03:00 |
|
Jeremy Kemper
|
64f4dc68f6
|
Memoize STI class lookups for the duration of a request
|
2010-08-19 11:28:49 -05:00 |
|
Aaron Patterson
|
a16ec2f4cf
|
refactor if / else to ||=
|
2010-08-18 23:37:11 -07:00 |
|
Xavier Noria
|
6fb6ddb9a7
|
avoids warnings about mismatched indentations in Ruby 1.9.2
|
2010-08-19 03:44:31 +02:00 |
|
Xavier Noria
|
632a224bd1
|
now for real, the suite loads everything and these went unpatched
|
2010-08-19 03:00:34 +02:00 |
|
Xavier Noria
|
6580c6df36
|
avoids a ton o warnings 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
|
2010-08-19 03:00:19 +02:00 |
|
Xavier Noria
|
ddce48a355
|
get rid of the warning "+ after local variable is interpreted as binary operator even though it seems like unary operator" in Ruby 1.9.2
|
2010-08-19 02:29:02 +02:00 |
|
wycats
|
06632578c2
|
Revert "It's snowing!"
This reverts commit e4283007d6.
|
2010-08-18 16:49:34 -07:00 |
|
Aaron Patterson
|
2f6383e340
|
refactoring to remove duplicate logic
|
2010-08-18 12:10:37 -07:00 |
|
Aaron Patterson
|
7e85b16518
|
call to present? is not necessary
|
2010-08-18 11:51:39 -07:00 |
|
Javier Martín
|
12f7f7a714
|
Don't pluralize resource methods [#4704 state:resolved]
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
|
2010-08-18 13:58:21 -03:00 |
|
Santiago Pastorino
|
82eff0ffe9
|
Bump up rdoc to 2.5.10
|
2010-08-18 13:55:56 -03:00 |
|
wycats
|
588ac71213
|
1.8 block variable shadowing strikes again
|
2010-08-17 16:52:34 -07:00 |
|
wycats
|
0a41ece3e3
|
Sadly, this segv's in 1.8 :(
|
2010-08-17 16:52:34 -07:00 |
|
Andre Arko
|
c40856c46c
|
Allow member actions (get, etc) to accept strings, with test
|
2010-08-18 07:36:49 +08:00 |
|
Xavier Noria
|
23303d6ab7
|
you rarely want ^ or $ in validations, use \A when you mean \A
|
2010-08-18 00:35:05 +02:00 |
|
Trey Bean
|
017840beb8
|
Missing object for comparison in ActiveModel::EachValidator example code.
|
2010-08-18 00:34:46 +02:00 |
|
Matthew Mongeau
|
92f4cca4a3
|
to_sentence should return a duplicate
|
2010-08-17 13:53:22 -07:00 |
|
Jeff Lawson
|
82a58abe05
|
Bug Fix -- clean up connection after stored procedure [#3151 state:resolved]
|
2010-08-17 13:14:57 -07:00 |
|
Jeff Lawson
|
90176a6f15
|
Bug Fix -- clean up connection after stored procedure [#3151 state:resolved]
|
2010-08-17 13:14:57 -07:00 |
|
Xavier Noria
|
4b21dfe9a7
|
debugging guide: revises the section on debugging RJS
|
2010-08-17 13:33:53 +02:00 |
|
Luke Brown
|
c11ba424e7
|
Added an example and explaination for using an optional path scope for the locale
|
2010-08-17 13:31:52 +02:00 |
|
Josiah Ivey
|
21063e5e27
|
Debugging Guide: Improve grammar for the RJS section
|
2010-08-17 13:31:40 +02:00 |
|
Santiago Pastorino
|
22d242c2ca
|
recommended is the right word here
|
2010-08-17 13:31:28 +02:00 |
|
Santiago Pastorino
|
6f478b0698
|
Restore pet -> owner relationship to the previous state
[#5365]
|
2010-08-16 22:47:49 -03:00 |
|
Mark Turner
|
fc43c62fc6
|
added testcase for belongs_to with a counter_cache and touch
[#5365 state:committed]
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
|
2010-08-16 22:47:40 -03:00 |
|
Peter Wagenet
|
b9281e8e2c
|
Class Attribute setter returns set value
Signed-off-by: wycats <wycats@gmail.com>
|
2010-08-16 18:38:33 -07:00 |
|
Xavier Noria
|
5f5c508444
|
code gardening: we have assert_(nil|blank|present), more concise, with better default failure messages - let's use them
|
2010-08-17 03:31:39 +02:00 |
|
Santiago Pastorino
|
020aeb6192
|
assert_equal here
|
2010-08-16 22:01:04 -03:00 |
|
Tobias Lütke
|
141634ddc6
|
Added test case to verify that transaction callbacks are correctly propagated to class observers
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
|
2010-08-16 22:00:52 -03:00 |
|
Xavier Noria
|
14be1789b7
|
the (public) routing DSL does not accept symbols for get|post|put|delete|match
|
2010-08-17 02:50:31 +02:00 |
|
Raimonds Simanovskis
|
1d2e075bf1
|
Replaced hardcoded SessionStore table creation SQL with calls to ActiveRecord adapter migration methods
Otherwise hardcoded table creation SQL was failing on Oracle database
|
2010-08-17 06:18:39 +08:00 |
|
Raimonds Simanovskis
|
d1480926e8
|
added dependencies in Gemfile for running ActiveRecord tests with Oracle database
|
2010-08-17 06:18:38 +08:00 |
|
José Valim
|
047e411fd2
|
annoted_source_code may return nil if an erro rhappens during template compiling.
|
2010-08-16 14:12:07 -03:00 |
|
wycats
|
452a56ad51
|
Make sure apps upgrading from 2.3 get defaulted to UTF-8 (ht: parndt)
|
2010-08-15 16:31:40 -07:00 |
|
wycats
|
83cb532009
|
Test callbacks
|
2010-08-15 16:31:40 -07:00 |
|
Xavier Noria
|
c330e96a6e
|
routing guide: wildcard segments are quite flexible, go beyond the simple use case
|
2010-08-16 01:12:10 +02:00 |
|
wycats
|
a34dce9717
|
Add back #callback and deprecate it
|
2010-08-15 15:36:18 -07:00 |
|