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 |
|
wycats
|
b8ec4eaac5
|
find .text.html and .text.plain files, and deprecate it
|
2010-08-15 15:27:57 -07:00 |
|
wycats
|
688368100a
|
headers["X-Foo-Count"] = 2 is deprecated properly now
|
2010-08-15 15:18:22 -07:00 |
|
wycats
|
19fb031d84
|
render :file in 2.3 behaved like render :template in Rails 3 (adding the current controller as a prefix)
|
2010-08-15 15:07:05 -07:00 |
|
Subba Rao Pasupuleti
|
dbe5ae488e
|
select tags coerce the :selected option, options to strings before comparison [#5056 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2010-08-15 16:54:31 -03:00 |
|
Bryce Thornton
|
1091a6e9b7
|
Allow for any possible TLD when using the :all option with the cookie session store. This works for subdomain.mysite.local, google.co.uk, google.com.au, etc. [#5147 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2010-08-15 16:54:31 -03:00 |
|
José Valim
|
8520045200
|
Improve routes task code and print the application as :to => RackApp. [#5338 state:resolved]
|
2010-08-15 16:54:31 -03:00 |
|
Mark Turner
|
ebf7447b34
|
make rake routes print the name of a Rack endpoint app [#5338 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2010-08-15 16:54:31 -03:00 |
|
Santiago Pastorino
|
10177d3a38
|
Revert "Makes AR use AMo to_key implementation"
This reverts commit ccd4364a13.
|
2010-08-15 11:37:50 -03:00 |
|
José Valim
|
f224c66a91
|
to_key should return all exists keys (if any exists), regardless if the object is persisted or not. If you need it to reflect persistance, you should use to_param.
|
2010-08-15 11:30:06 -03:00 |
|
Mikel Lindsaar
|
88fc37ff03
|
Making time_zone_options_for_select return a html_safe string
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
|
2010-08-15 09:59:24 -03:00 |
|
Santiago Pastorino
|
bdeeca358b
|
This is not needed anymore
|
2010-08-15 09:18:46 -03:00 |
|
Santiago Pastorino
|
5f7bfb1c3a
|
Makes use of class << self instead of def self.
|
2010-08-15 08:42:05 -03:00 |
|
Santiago Pastorino
|
ae7732f957
|
remove already defined method to avoid warnings
|
2010-08-15 08:03:26 -03:00 |
|
Santiago Pastorino
|
df8a941a43
|
Revert "connection reader is defined later"
This reverts commit f4cce71d96.
|
2010-08-15 08:03:17 -03:00 |
|
Santiago Pastorino
|
6d68cde2c5
|
connection reader is defined later
|
2010-08-15 07:21:10 -03:00 |
|
Santiago Pastorino
|
0f1b9bbbf8
|
Makes topics.written_on null => true back again some tests rely on that
|
2010-08-15 07:20:58 -03:00 |
|
Santiago Pastorino
|
477a9d4d86
|
MySQL2 added to CI
|
2010-08-14 21:56:29 -03:00 |
|
Santiago Pastorino
|
a036999ed1
|
Should be Boolean there
|
2010-08-14 19:49:33 -03:00 |
|
Santiago Pastorino
|
707248a629
|
Add missing model
|
2010-08-14 18:50:15 -03:00 |
|
Santiago Pastorino
|
ecf59b4776
|
Both tests are using the same model, move the model to another file and add the missing require
|
2010-08-14 18:50:07 -03:00 |
|
Santiago Pastorino
|
677564f8f7
|
object/try should be required after abstract_unit to have AS in the load path
|
2010-08-14 18:34:15 -03:00 |
|
Mark Hayes
|
f6f7ae4020
|
in Rendering objects with RecordIdentifier example, locals should reference @account not @buyer
|
2010-08-14 13:26:03 +02:00 |
|
Santiago Pastorino
|
b3ece73114
|
deprected -> deprecated
|
2010-08-14 13:26:03 +02:00 |
|
Subba Rao Pasupuleti
|
76c91a237c
|
Adding missing required statement
[#5056 state:resolved]
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
|
2010-08-14 06:28:54 -03:00 |
|