Jeremy Kemper
|
373de28029
|
Ruby 1.9 compat. Trailing whitespace.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9146 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-30 06:17:37 +00:00 |
|
Jeremy Kemper
|
fa6fcb45e2
|
Don't shadow attrs var
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9145 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-30 06:17:29 +00:00 |
|
Jeremy Kemper
|
316906cbbb
|
Merge in latest tmail trunk r241
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9144 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-30 05:05:19 +00:00 |
|
Jeremy Kemper
|
f66bbf5ed0
|
Don't need to explicitly pass the same params to super. Remove trailing whitespace.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9143 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-30 05:02:25 +00:00 |
|
Josh Peek
|
bf3c217238
|
Ruby 1.9 compat: Suppress Benchmark.realtime method redefined warning.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9142 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-30 03:04:41 +00:00 |
|
Rick Olson
|
65b4702c4f
|
Small tweak to allow plugins to specify gem dependencies. [rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9141 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-30 02:35:08 +00:00 |
|
Rick Olson
|
088ef182e3
|
Added config.gem for specifying which gems are required by the application, as well as rake tasks for installing and freezing gems. [rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9140 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-30 02:17:28 +00:00 |
|
Jeremy Kemper
|
81286f8587
|
Dirty typecasts attribute values before comparison, if possible. Closes #11464 [Russell Norris, mroch]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9139 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-29 22:19:26 +00:00 |
|
Josh Peek
|
eece9b4e8a
|
Force json string encoding to ASCII-8BIT before unpacking for Ruby 1.9.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9138 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-29 21:48:08 +00:00 |
|
Jeremy Kemper
|
6ef3bc3d02
|
Play nice with 1.9's DateTime#to_s
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9137 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-29 21:23:10 +00:00 |
|
Josh Peek
|
37a004ded4
|
Ensure threads finish running for time zone thread safety test.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9136 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-29 20:50:09 +00:00 |
|
David Heinemeier Hansson
|
3e73278020
|
Removed the default .htaccess configuration as there are so many good deployment options now (kept it as an example in README) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9134 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-29 18:45:39 +00:00 |
|
Jeremy Kemper
|
e8170805df
|
Generated tests rely on test dir in load path rather than File.dirname shenanigans. ruby -Itest test/unit/foo_test.rb to run a test by hand (that's a capital I as in Island).
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9133 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-29 18:41:10 +00:00 |
|
David Heinemeier Hansson
|
827b529459
|
Update welcome screen with revised instructions and removal of dead links
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9132 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-29 18:37:14 +00:00 |
|
David Heinemeier Hansson
|
968e022fc6
|
Space at the bottom feels better
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9131 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-29 18:02:40 +00:00 |
|
David Heinemeier Hansson
|
9ffbbd08bb
|
Removed outdated scaffold from template
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9130 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-29 18:01:49 +00:00 |
|
David Heinemeier Hansson
|
f34d57e2d2
|
Fixed that validates_size_of :within works in associations (closes #11295, #10019) [cavalle]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9129 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-29 17:53:44 +00:00 |
|
Jeremy Kemper
|
3748d7a0f2
|
Revert spurious commit from [9126]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9128 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-29 00:26:15 +00:00 |
|
Jeremy Kemper
|
bbf738f269
|
Track changes to unsaved attributes
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9127 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-29 00:04:27 +00:00 |
|
David Heinemeier Hansson
|
3704f4ba2e
|
Fix new migration versions
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9126 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-28 22:14:04 +00:00 |
|
Jeremy Kemper
|
a61b63d420
|
Avoid remote_ip spoofing
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9124 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-28 21:38:01 +00:00 |
|
Jeremy Kemper
|
18049864cb
|
Inspect options hashes in RenderError message so it's actually readable. Closes #11435 [court3nay]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9123 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-28 21:23:28 +00:00 |
|
David Heinemeier Hansson
|
c00de99f69
|
Switched to UTC-timebased version numbers for migrations and the schema. This will as good as eliminate the problem of multiple migrations getting the same version assigned in different branches. Also added rake db:migrate:up/down to apply individual migrations that may need to be run when you merge branches (closes #11458) [jbarnette]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9122 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-28 21:21:01 +00:00 |
|
Jeremy Kemper
|
ad8df03f9c
|
Add #clone. Closes #7352 [Ryan Daigle, thechrisoshow]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9121 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-28 21:17:38 +00:00 |
|
Jeremy Kemper
|
5c0656c9ee
|
Fix layouts in symlinked paths. Closes #9136 [court3nay, caio]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9120 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-28 20:54:26 +00:00 |
|
Jeremy Kemper
|
6efee90bf2
|
Missing :js template falls back to :html, so you don't have to explicitly specify template format everywhere, breaking old code
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9119 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-28 20:21:52 +00:00 |
|
Jeremy Kemper
|
6b5fe9c644
|
Fix some mistaken dependencies among AR unit tests. Closes #11425 [thechrisoshow]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9118 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-28 20:21:20 +00:00 |
|
David Heinemeier Hansson
|
4e69ed0656
|
Add missing file
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9117 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-28 20:17:21 +00:00 |
|
David Heinemeier Hansson
|
b7aa223554
|
Update doc (closes #11402)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9116 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-28 20:03:28 +00:00 |
|
David Heinemeier Hansson
|
db3a60eb92
|
Added support for regexp flags like ignoring case in the :requirements part of routes declarations (closes #11421) [NeilW]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9115 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-28 20:01:21 +00:00 |
|
David Heinemeier Hansson
|
9300ebd86f
|
Fixed that to_param should be used and honored instead of hardcoding the id (closes #11406) [gspiers]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9114 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-28 19:58:46 +00:00 |
|
David Heinemeier Hansson
|
388e5d3fac
|
Fixed that ActionController::Base#read_multipart would fail if boundary was exactly 10240 bytes (closes #10886) [ariejan]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9113 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-28 19:55:31 +00:00 |
|
David Heinemeier Hansson
|
4aca503d0e
|
Fixed that no gems installed would cause error (closes #11459) [thechrisoshow]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9112 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-28 19:52:02 +00:00 |
|
David Heinemeier Hansson
|
c57254d449
|
Fixed HTML::Tokenizer (used in sanitize helper) didnt handle unclosed CDATA tags (closes #10071) [esad, packagethief]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9111 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-28 19:45:32 +00:00 |
|
David Heinemeier Hansson
|
bdd88810c1
|
Fixed that has_many :through would ignore the hash conditions (closes #11447) [miloops]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9110 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-28 16:13:57 +00:00 |
|
Pratik Naik
|
533da24bbc
|
Make sure ActiveRecord tests can run individually. Closes #11425 [thechrisoshow, h-lame]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9109 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-28 11:55:01 +00:00 |
|
Geoff Buesing
|
c62db052a0
|
config.time_zone and TimeWithZone#marshal_load accept tzinfo/Olson identifiers
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9108 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-28 04:35:48 +00:00 |
|
Geoff Buesing
|
59183eec6f
|
Time.zone= accepts TZInfo::Timezone instances and Olson identifiers; wraps result in TimeZone instance
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9107 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-28 04:06:47 +00:00 |
|
Geoff Buesing
|
129d94477b
|
TimeWithZone time conversions don't need to be wrapped in TimeOrDateTime, because TZInfo does this internally
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9106 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-28 02:10:36 +00:00 |
|
Geoff Buesing
|
e4645e00b7
|
TimeWithZone#usec returns 0 instead of error when DateTime is wrapped
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9105 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-28 01:57:41 +00:00 |
|
Geoff Buesing
|
480a7581d4
|
Rails::Initializer#initialize_time_zone raises an error if value assigned to config.time_zone is not recognized. Rake time zone tasks only require ActiveSupport instead of entire environment
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9104 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-28 01:45:04 +00:00 |
|
David Heinemeier Hansson
|
d8823d6fb7
|
Stop adding the antiquated test/mocks/* directories and only add them to the path if theyre still there for legacy reasons [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9102 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-27 22:33:50 +00:00 |
|
David Heinemeier Hansson
|
8301ce4d0b
|
Added that gems can now be plugins if they include rails/init.rb (closes #11444) [jbarnette]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9101 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-27 18:37:53 +00:00 |
|
David Heinemeier Hansson
|
6080943950
|
Missing test data
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9100 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-27 17:54:43 +00:00 |
|
David Heinemeier Hansson
|
5c0d38f674
|
Fixed that a return-path header would be ignored (closes #7572) [joost]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9099 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-27 17:54:02 +00:00 |
|
David Heinemeier Hansson
|
f5b991d76d
|
Added Plugin#about method to programmatically access the about.yml in a plugin (closes #10979) [lazyatom]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9098 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-27 17:47:51 +00:00 |
|
David Heinemeier Hansson
|
35d3ede974
|
New applications should use UTC as the default time zone
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9097 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-26 21:01:30 +00:00 |
|
Rick Olson
|
c366515abd
|
Fix issue where the :uniq option of a has_many :through association is ignored when find(:all) is called. Closes #9407 [cavalle]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9096 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-26 15:40:57 +00:00 |
|
Rick Olson
|
1648208ab0
|
Fix duplicate table alias error when including an association with a has_many :through association on the same join table. Closes #7310 [cavalle]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9095 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-26 15:36:17 +00:00 |
|
Rick Olson
|
628ffad98b
|
More efficient association preloading code that compacts a through_records array in a central location. Closes #11427 [danger]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9094 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-26 15:26:59 +00:00 |
|