Commit Graph

73 Commits

Author SHA1 Message Date
David Heinemeier Hansson
752f9ab873 Fixed path problem
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@743 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-22 14:11:12 +00:00
David Heinemeier Hansson
cf659de141 Added Date::Conversions for getting dates in different convenient string representations and other objects
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@738 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-21 17:09:20 +00:00
David Heinemeier Hansson
8401218bec Added Time::Conversions for getting times in different convenient string representations and other objects
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@737 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-21 17:02:08 +00:00
David Heinemeier Hansson
a0455ecb43 Added some examples for the time calculations
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@736 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-21 15:07:25 +00:00
David Heinemeier Hansson
6e84d82ce9 Make it possible to say Time.now.in(1.year)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@735 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-21 15:05:32 +00:00
David Heinemeier Hansson
b08f35309b Added last_month and next_month
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@734 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-21 14:51:10 +00:00
David Heinemeier Hansson
25f8a25c3e Added next_week and made beginning_of_week be a Monday, not a Sunday
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@733 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-21 14:46:33 +00:00
David Heinemeier Hansson
637642c8b8 Treat UTC times nicer
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@732 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-21 14:32:55 +00:00
David Heinemeier Hansson
6ff54f70fd Added Time::Calculations to ask for things like Time.now.tomorrow, Time.now.yesterday, Time.now.months_ago(4) #580 [DP|Flurin]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@731 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-21 14:18:54 +00:00
David Heinemeier Hansson
1402bb7a25 Upgraded to breakpoint 92
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@721 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-20 22:28:11 +00:00
David Heinemeier Hansson
8322ea45c1 Blame controller files #684
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@718 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-20 20:55:36 +00:00
David Heinemeier Hansson
beb2875094 Updated dependency loading to consider non-standard class/file name combinations
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@712 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-20 13:47:57 +00:00
David Heinemeier Hansson
5fa66cd45c Allows a loading module to load from multiple load paths #675
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@711 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-20 11:06:14 +00:00
David Heinemeier Hansson
98349f37a3 Gives Rescues some Love #680
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@709 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-20 10:51:10 +00:00
David Heinemeier Hansson
787aa28d61 Require the Active Support gem
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@628 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-15 16:35:07 +00:00
David Heinemeier Hansson
dcfd6aa3bd Move Controllers wrapper module away from environment.rb and into dependencies.rb
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@627 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-15 16:21:56 +00:00
David Heinemeier Hansson
dc3d6eb9b4 Moved Active Support into its own gem
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@624 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-15 15:57:44 +00:00
David Heinemeier Hansson
45caae41c3 Fixed all the tests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@623 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-15 15:02:43 +00:00
David Heinemeier Hansson
d33b741621 Fix deprecated id error #588
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@622 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-15 13:49:15 +00:00
David Heinemeier Hansson
603ab7d812 Fixed Inflector for words like "news" and "series" that are the same in plural and singular #603 [echion], #615 [marcenuc]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@618 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-15 02:02:20 +00:00
David Heinemeier Hansson
b1999be5a7 A hopefully more successful attempt at the Routing branch merge
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@617 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-15 01:45:35 +00:00
David Heinemeier Hansson
88a3343ed5 Backed out of routing merge.. investigating missing patches
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@616 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-15 01:24:55 +00:00
David Heinemeier Hansson
c844755e5a Merged back the Routing branch
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@614 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-15 00:51:02 +00:00
David Heinemeier Hansson
83c3f6f81a Added Hash#stringify_keys and Hash#stringify_keys!
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@586 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-12 20:10:10 +00:00
David Heinemeier Hansson
2c110b825e Added IndifferentAccess as a way to wrap a hash by a symbol-based store that also can be accessed by string keys
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@581 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-11 13:05:38 +00:00
David Heinemeier Hansson
098fa94356 Fixed documentation snafus #575, #576, #577, #585
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@525 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-07 14:15:53 +00:00
David Heinemeier Hansson
11611c1b00 Raise LoadErrors separately
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@510 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-25 18:35:16 +00:00
David Heinemeier Hansson
be80d460f7 Moved subclass reloading responsibilities to Dependencies
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@509 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-25 18:20:23 +00:00
David Heinemeier Hansson
ee662e9768 New approach to reloading that uses remove_const on ARs and AOs as well as ACs
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@507 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-25 18:00:15 +00:00
David Heinemeier Hansson
c37e8d365b Added methods for removing subclasses -- couldnt make it work with the regular nested-module approach (ObjectSpace was being difficult), so this is a straight inclusion
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@506 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-25 17:55:55 +00:00
David Heinemeier Hansson
90d94cd77e Fetch from current dir
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@497 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-24 14:14:08 +00:00
David Heinemeier Hansson
505e2d99da Added Florian Gross' latest version of Breakpointer and friends that fixes a variaty of bugs #441 [Florian Gross]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@492 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-24 13:41:57 +00:00
David Heinemeier Hansson
3d1e8dde9d Fixed handling of syntax errors in models that had already been succesfully required once in the current interpreter. Fixed superclass mismatch and other controller related problems by not using dependency reloading for controllers.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@482 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-24 10:58:17 +00:00
David Heinemeier Hansson
ae690e8fe4 Minor tweak
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@481 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-24 00:34:08 +00:00
David Heinemeier Hansson
25eaf062c2 Another swing at reloading
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@480 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-24 00:30:15 +00:00
David Heinemeier Hansson
0942bfa7a9 Brought back reloading of models
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@478 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-23 19:42:40 +00:00
David Heinemeier Hansson
03e44cbcb2 Added Inflector.humanize to turn attribute names like employee_salary into "Employee salary". Used by automated error reporting in AR.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@450 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-17 19:55:21 +00:00
David Heinemeier Hansson
1b38c5523e Added Inflector.humanize to turn attribute names like employee_salary into "Employee salary". Used by automated error reporting in AR.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@449 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-17 19:53:42 +00:00
David Heinemeier Hansson
58f920fecd Made methods class level methods again
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@445 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-17 17:01:35 +00:00
David Heinemeier Hansson
e98a14012d Made more stuff quiet
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@443 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-17 01:40:22 +00:00
David Heinemeier Hansson
c1a1b0b938 Made more stuff quiet
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@442 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-17 01:35:50 +00:00
David Heinemeier Hansson
1dbb4adec1 Made a bunch of stuff quiet in the docs
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@441 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-17 01:29:45 +00:00
David Heinemeier Hansson
3b9be80a3a Removed debugging aid from dependencies
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@432 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-16 18:02:47 +00:00
David Heinemeier Hansson
92a29257b5 No need for reloading any more
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@431 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-16 17:58:54 +00:00
David Heinemeier Hansson
ee014ef95a New adventures in dependency reloading
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@429 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-16 17:50:36 +00:00
David Heinemeier Hansson
394cf21ce7 Minor tweaks
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@428 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-16 13:07:28 +00:00
David Heinemeier Hansson
e59f1b5249 Went back to original breakpointing as I couldnt make the patches from flgr work
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@425 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-15 21:28:02 +00:00
David Heinemeier Hansson
c46e390920 Fixed some breakpoint issues and made breakpoint_client depend on activerecord/support instead of duplicating the files in railties #441 [Florian Gross]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@424 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-15 21:10:26 +00:00
David Heinemeier Hansson
fb13b7a495 Removed the Ruby 1.8.2 test/unit fix as it didnt work anyway
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@423 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-15 20:55:19 +00:00
David Heinemeier Hansson
31901a5939 Fixed errors thrown to namespace collision
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@421 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-15 18:28:10 +00:00