David Heinemeier Hansson
|
a5445fd9c5
|
Deprecate some more legacy
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9172 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-31 23:45:48 +00:00 |
|
David Heinemeier Hansson
|
9ddc6143e0
|
Something more to work with
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9171 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-31 23:40:34 +00:00 |
|
David Heinemeier Hansson
|
c4be0dbca9
|
Fixed charset/collation for rake db:create (closes #11331) [matt]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9170 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-31 21:16:17 +00:00 |
|
Pratik Naik
|
92cd8811aa
|
Ensure that validates_uniqueness_of works with with_scope. Closes #9235. [nik.wakelin, cavalle]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9168 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-31 12:57:47 +00:00 |
|
Rick Olson
|
cc2d6a0b93
|
Allow files in plugins to be reloaded like the rest of the application. [rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9167 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-31 06:53:44 +00:00 |
|
Jeremy Kemper
|
a8ac5300e6
|
Bump bundled tmail to r242
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9166 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-31 05:31:47 +00:00 |
|
Jeremy Kemper
|
af74077544
|
Ruby 1.9 compat: mark utf-8 encoding.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9165 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-31 05:31:37 +00:00 |
|
Jeremy Kemper
|
be36455181
|
Ruby 1.9 compat: use Array() instead of #to_a.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9164 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-31 05:31:29 +00:00 |
|
Jeremy Kemper
|
f6484e63c1
|
rename config/initializers/new_in_rails_3.rb to new_rails_defaults.rb
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9163 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-31 04:59:23 +00:00 |
|
Jeremy Kemper
|
df0d56c1f6
|
Force timestamp update
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9162 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-31 03:57:25 +00:00 |
|
Jeremy Kemper
|
047db11299
|
Fine, warn. Just don't recurse to death in cc.rb
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9161 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-31 02:18:17 +00:00 |
|
Jeremy Kemper
|
c52771e7a0
|
Fix case-sensitive validates_uniqueness_of. Closes #11366 [miloops]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9160 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-31 01:50:07 +00:00 |
|
Jeremy Kemper
|
97019f9f5a
|
Partial updates play nice with updated_at/on timestamps
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9159 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-31 01:49:57 +00:00 |
|
Jeremy Kemper
|
3aaf60def8
|
Add :message option to validates_numericality_of. Closes #11456 [miloops, mdempfle]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9158 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-31 01:49:31 +00:00 |
|
Jeremy Kemper
|
6b9448cdd2
|
Partial updates include only unsaved attributes. Off by default; set YourClass.partial_updates = true to enable.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9157 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-31 01:10:04 +00:00 |
|
Jeremy Kemper
|
2cf72ad250
|
Add query methods for superclass_delegating_reader
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9156 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-31 01:09:39 +00:00 |
|
Jeremy Kemper
|
181378d1e9
|
Always alias DateTime#to_s to #to_default_s
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9155 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-31 01:09:29 +00:00 |
|
Jeremy Kemper
|
ade1e3defd
|
require fileutils
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9154 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-31 01:09:19 +00:00 |
|
Geoff Buesing
|
2ccfcc42b0
|
TZInfo: Removing unneeded TimezoneProxy class
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9153 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-30 23:49:52 +00:00 |
|
Geoff Buesing
|
9c124a98b3
|
TZInfo: Removing unneeded TimezoneIndexDefinition, since we're not including Indexes::Timezones
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9152 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-30 23:27:17 +00:00 |
|
Jeremy Kemper
|
c3ce27fbaf
|
Handle exit, reload, and restart immediately if not processing a request. References #11471 [guillaume, Jeremy Kemper]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9151 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-30 23:07:52 +00:00 |
|
Geoff Buesing
|
458fd10483
|
Removing unnecessary uses_tzinfo helper from tests, given that TZInfo is now bundled
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9150 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-30 23:01:06 +00:00 |
|
Geoff Buesing
|
d4493bc562
|
Bundling abbreviated version of TZInfo gem 0.3.8: only the classes and zone definitions required to support Rails time zone features are included. If a recent version of the full TZInfo gem is installed, this will take precedence over the bundled version
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9149 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-30 22:24:35 +00:00 |
|
Rick Olson
|
c2ce69860a
|
whoops, typo in the CHANGELOG
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9148 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-30 18:22:31 +00:00 |
|
Jeremy Kemper
|
a5b7f131ed
|
Ruby 1.9: mark failing assertion
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9147 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-30 06:17:45 +00:00 |
|
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 |
|