Wincent Colaiuta
5ccdb362b4
Add test case for ActiveRecord::Base.record_timestamps = false
...
This is a failing test case for Lighthouse ticket #5440 :
https://rails.lighthouseapp.com/projects/8994/tickets/5440
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-08-24 10:47:30 -03:00
José Valim
7a7012c717
Fix a bug where symbols and strings were not behaving the same in the router. [ #5431 state:resolved]
2010-08-24 10:19:01 -03:00
Andrew White
8feb2856ea
When custom resource actions are specified using strings add the default name and action if the string is a valid ruby method name.
...
[#5431 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-08-24 10:09:44 -03:00
Krekoten' Marjan
5708412052
Fix test of generated Gemfile with mysql selected as DB driver
...
[#5435 state:committed]
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com >
2010-08-24 09:39:13 -03:00
David Heinemeier Hansson
822fa17c6c
mysql db defaults to mysql2 gem
v3.0.0_RC2
2010-08-23 21:40:59 -05:00
David Heinemeier Hansson
04aa14f8d7
Bump rails version
2010-08-23 21:31:08 -05:00
David Heinemeier Hansson
bc61196bf5
Depend on latest arel RC
2010-08-23 21:27:58 -05:00
Santiago Pastorino
aafb29073a
Point guides to bundler 1.0.0.rc.6
2010-08-23 23:27:13 -03:00
David Heinemeier Hansson
880eaa145e
Depend on latest Bundler RC
2010-08-23 21:22:22 -05:00
David Heinemeier Hansson
fc6db6226f
Prefer the mysql2 gem for MySQL database.ymls
2010-08-23 21:19:20 -05:00
David Heinemeier Hansson
8931dd17a9
Prep for RC2
2010-08-23 21:15:48 -05:00
Santiago Pastorino
c8b84a1c8c
Config is deprecated on 1.8.8 and 1.9.3 use RbConfig
2010-08-23 23:09:35 -03:00
Aaron Patterson
36fcc99cce
marking sql literals as sql literals
2010-08-23 18:49:10 -07:00
José Valim
a1ca2e0a38
Update CHANGELOG for ActionPack.
2010-08-23 21:53:56 -03:00
Aaron Patterson
6a1ea881cf
we should mark sql strings as sql literals
2010-08-23 14:27:16 -07:00
Aaron Patterson
1cc653f9b3
sql literal strings should be marked as sql literal strings
2010-08-23 13:57:32 -07:00
Aaron Patterson
eeb9b379f9
we should mark strings as SQL Literal values
2010-08-23 13:30:46 -07:00
Brian Lopez
ce04ea973c
mysql2 adapter is being maintained in the mysql2 gem itself
...
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com >
2010-08-23 16:01:16 -03:00
Brian Lopez
ab64dc9c20
no need to depend on mysql2 master anymore
...
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com >
2010-08-23 15:51:01 -03:00
Raimonds Simanovskis
f10fb1c4e9
use database from ARUNIT_DB_NAME environment variable when running tests on Oracle
2010-08-24 01:49:42 +08:00
Xavier Noria
2570fda5ab
removes words moved in previous edit of the generator generator USAGE
2010-08-23 09:45:34 +02:00
Xavier Noria
b97ad85d44
generators guide: edit pass
2010-08-23 09:15:10 +02:00
Xavier Noria
d125687b97
adds USAGE to the generator generator USAGE (not sure this meta thing is any good at 8:12 AM with little coffee)
2010-08-23 09:15:10 +02:00
Raimonds Simanovskis
2c81a31039
Do not use time zone in test_read_attributes_before_type_cast_on_datetime for Oracle database
...
As currently string_to_time method is not doing time zone conversion to database time zone
2010-08-23 07:34:07 +08:00
Raimonds Simanovskis
bedf6a0061
updated test_should_record_timestamp_for_join_table for Oracle
2010-08-23 07:34:07 +08:00
Santiago Pastorino
6edae4553e
Bump up rack-mount to 0.6.12
2010-08-22 20:29:14 -03:00
Santiago Pastorino
8235c9288f
type fixed
2010-08-23 01:23:24 +02:00
Aaron Patterson
6ca6ef2ab0
removing duplicate tests
2010-08-22 16:06:21 -07:00
Santiago Pastorino
0579963a38
Silence warnings for Encoding.default_external= and Encoding.default_internal=
2010-08-22 18:43:51 -03:00
Santiago Pastorino
7cb44a5092
Fix namespace problem on object which inherit from ActiveSupport::BasicObject
2010-08-22 17:18:02 -03:00
Andrew White
df0a7bfb8f
Cache the symbolized path parameters using a instance variable in the request object rather than the environment hash. This it to prevent stale parameters in later routing constraints/redirects as only the normal path parameters are set by Rack::Mount.
...
Also if a constraint proc arity is more than one, pass the symbolized path parameters
as the first argument to match redirect proc args and provide easier access.
[#5157 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-08-22 16:18:42 -03:00
Santiago Pastorino
2106782828
Set default_internal and default_external on AS for testing purposes
2010-08-22 02:23:13 -03:00
Santiago Pastorino
e88f8bee5e
Set default_internal and default_external on AM for testing purposes
2010-08-21 22:53:42 -03:00
Santiago Pastorino
11e9883f19
Move encoding settings for testing purposes to abstract_unit file
2010-08-21 22:38:15 -03:00
Raphomet
b4e5da6bde
Trifling typos
...
[#5422 state:committed]
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com >
2010-08-21 19:22:54 -03:00
Brian Lopez
7dbc99ef0d
reload bob after his journy to a new timezone
2010-08-20 20:00:21 -07:00
Jeremy Kemper
d0e3323d5b
Revert "Just add connection management middleware if running in a concurrent environment."
...
This reverts commit 6b29dc876f .
2010-08-20 18:55:12 -07:00
Xavier Noria
68e2d1e496
prevent RDoc from autolinking "Rails" in the API home page
2010-08-21 02:29:39 +02:00
Xavier Noria
9011f8f49c
requires horo 1.0.2
2010-08-21 02:29:25 +02:00
Nick Sieger
b4a520874a
Fix hash modification during iteration in Mapper [ #5420 ]
...
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com >
2010-08-20 18:28:19 -03:00
Andrew White
47f6d8b880
Support routing constraints in functional tests
...
Extend assert_recognizes and assert_generates to support passing
full urls as the path argument. This allows testing of routing
constraints such as subdomain and host within functional tests.
[#5005 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-08-20 14:51:50 -03:00
Aaron Patterson
612c233a28
adding FOUND_ROWS to the connect flags for mysql2
2010-08-20 10:15:52 -07:00
Neeraj Singh
8f72ddc12b
after_validation should be called irrespective of the result of validation.
...
I confirmed that this is the behavior on 2.3.x .
[5419 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-08-20 11:24:58 -03:00
Andrew White
47280f083a
Don't add the standard https port when using redirect in routes.rb and ensure that request.scheme returns https when using a reverse proxy.
...
[#5408 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-08-20 10:41:43 -03:00
Andrew White
c6391e6676
Allow symbols for :path resource(s) option [ #5306 state:resolved]
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-08-20 09:33:33 -03:00
Xavier Noria
20088f6fff
deletes the rdoc task of each component, they are no longer published separately
2010-08-20 13:34:28 +02:00
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