Jeremy Kemper
1e72610e76
Condense to Kernel#with_warnings
2009-03-24 17:03:27 -07:00
Jeremy Kemper
fe7d3dbb02
Indentation, superfluous self
2009-03-24 17:02:58 -07:00
Ryan Angilly
dd2eb1ea7c
adding session_options initialization and test [ #2303 state:resolved]
...
Signed-off-by: Joshua Peek <josh@joshpeek.com >
2009-03-24 10:54:19 -05:00
thedarkone
ae9f258e03
Fix template extension parsing. [ #2315 state:resolved] [ #2284 state:resolved]
...
Signed-off-by: Joshua Peek <josh@joshpeek.com >
2009-03-24 10:54:18 -05:00
thedarkone
e3b166aab3
Simplify handling of absolute path templates. [ #2276 state:resolved]
...
Signed-off-by: Joshua Peek <josh@joshpeek.com >
2009-03-24 10:54:17 -05:00
David Dollar
4c2f09f23a
Updates tests to cause the tests for the Request class not to proxy through a fake TestRequest object [ #2278 state:resolved]
...
Signed-off-by: Joshua Peek <josh@joshpeek.com >
2009-03-24 10:54:16 -05:00
Peter Marklund
8fa4275a72
Reset request_parameters in TestRequest#recycle! to avoid multiple posts clobbering each other [ #2271 state:resolved]
...
Signed-off-by: Joshua Peek <josh@joshpeek.com >
2009-03-24 10:54:15 -05:00
Joshua Peek
03700b4f01
just kill brittle test
2009-03-24 10:54:14 -05:00
Pratik Naik
f97832b1e4
Merge docrails
2009-03-24 12:15:43 +00:00
Jeremy Kemper
e094940c2b
Move Numeric#to_utc_offset_s to TimeZone.seconds_to_utc_offset
2009-03-23 22:01:51 -07:00
Yehuda Katz and Carl Lerche
1d3e2c2b73
In the middle of some refactoring... some fails due to changes in AbstractController not yet reflected in ActionController tests
2009-03-23 18:06:47 -07:00
Yehuda Katz and Carl Lerche
a501638e9d
Checkpoint
2009-03-23 15:45:01 -07:00
Yehuda Katz
34f058e082
Add a bunch of tests for various render :action, layout combinations
2009-03-23 12:07:34 -07:00
Carl Lerche
4a93148bfe
Adding render :layout tests
2009-03-23 10:23:14 -07:00
Carl Lerche
ab17ecfe5d
Finished implementing :layout for most of the render options
2009-03-23 10:23:14 -07:00
Carl Lerche
c6123c3703
Finished implementing layout for render :text
2009-03-23 10:23:14 -07:00
Carl Lerche
81e814adfa
Working on being able to render :text with layouts
2009-03-23 10:23:14 -07:00
Carl Lerche
90c079a781
Modified the action layout tests to use the new FixtureTemplate class
2009-03-23 10:23:14 -07:00
Jeremy Kemper
0bd668fd88
Namespace HashWithIndifferentAccess
2009-03-21 18:45:09 -07:00
Jeremy Kemper
2133044fec
Hide XmlMini backend details from rdoc
2009-03-21 18:44:00 -07:00
Pratik Naik
d758d996d1
Deprecate Model#validate/validate_on_create/validate_on_update. Use Model.validate :method and likewise
2009-03-21 19:07:15 +00:00
Pratik Naik
320933205e
Deprecate Errors#on_base/add_to_base/invalid?/each_full
2009-03-21 18:34:05 +00:00
Jeremy Kemper
bca510cec2
try is an object extension
2009-03-21 04:39:54 -07:00
Jeremy Kemper
baf73e19a6
Convert Range extension module to a class reopen
2009-03-21 04:39:53 -07:00
Jeremy Kemper
b8d59b7f84
Convert Numeric extension module to a class reopen
2009-03-21 04:39:53 -07:00
Jeremy Kemper
d8cb94c75c
Fix dangling Inflector reference
2009-03-21 04:39:53 -07:00
Jeremy Kemper
21de164f8a
Convert LoadError extension modules to class reopens
2009-03-21 04:39:53 -07:00
Jeremy Kemper
54cf0fc476
Convert integer extension modules to class reopens
2009-03-21 04:39:53 -07:00
Jeremy Kemper
b4a1718832
Convert hash extension modules to class reopens
2009-03-21 04:39:53 -07:00
Jeremy Kemper
bc4e2aa931
Explicitly require set
2009-03-21 04:35:16 -07:00
Jeremy Kemper
8d1d813b66
Simplify Enumerable#each_with_object
2009-03-21 04:35:16 -07:00
Jeremy Kemper
051bab5bd2
Explicitly require pathname core extension
2009-03-21 04:35:16 -07:00
Jeremy Kemper
c43dec888a
Convert date extension modules to class reopens
2009-03-21 04:35:16 -07:00
Jeremy Kemper
bd28c7b1b8
blank? and duplicable? are Object extensions
2009-03-21 04:35:16 -07:00
Jeremy Kemper
005b40194e
Convert bigdecimal extension modules to class reopens
2009-03-21 04:35:16 -07:00
Jeremy Kemper
83fd1ae122
Convert array extension modules to class reopens
2009-03-21 04:35:16 -07:00
Jeremy Kemper
d5e87e3be0
Simple singleton. We don't need the full monty.
2009-03-21 04:35:16 -07:00
Jeremy Kemper
a970e32c91
Only require builder at startup if we need to monkey with its String#to_xs demands
2009-03-21 04:35:16 -07:00
Jeremy Kemper
dd15a3fee0
Prefer a less intrusive BlankSlate-alike that doesn't hook Object# and Kernel#method_added to remove future methods
2009-03-21 04:35:15 -07:00
Jeremy Kemper
a4e3aac40a
* Introduce ActiveSupport.core_ext Integer, %w(conversions time etc)
...
* Convert some extension modules to simply reopening the class
* Remove deprecated Float time extensions
* Fold Base64 extension into ActiveSupport::Base64 since stdlib Base64 is gone
2009-03-21 04:35:15 -07:00
Pratik Naik
2bc4189faf
Get rid of active_model/core and active_model/callbacks
2009-03-21 01:32:59 +00:00
Pratik Naik
e4b89b4680
Validation options dont need explicit :on => :save
2009-03-21 01:16:30 +00:00
Pratik Naik
379e468034
Remove DEFAULT_VALIDATION_OPTIONS from validations
2009-03-21 01:14:58 +00:00
Pratik Naik
22ad30ed60
Move validate_on_create and validate_on_update from ActiveModel to ActiveRecord
2009-03-21 01:11:38 +00:00
Pratik Naik
6173e5bfae
Add ActiveModel::Validations tests for regular ruby classes
2009-03-20 22:21:27 +00:00
Yehuda Katz
dc96ba8043
Temporary runner
2009-03-20 15:02:12 -07:00
Pratik Naik
08a99d0eac
Add I18n translations to ActiveModel and move more AR specific parts to ActiveRecord::Validations
2009-03-20 21:45:13 +00:00
Yehuda Katz
d1256f71d6
Hacked up fixture view paths to simplify tests for a bit
2009-03-20 14:05:10 -07:00
Pratik Naik
cc5e019f6b
Include ActiveModel::Validations from ActiveRecord::Validations
2009-03-20 19:12:18 +00:00
Pratik Naik
09afbfd47f
Fix ActiveResource::Errors deprecation messages
2009-03-20 18:51:01 +00:00