David Heinemeier Hansson
|
d239ac40fa
|
Also accepts Symbols and Classes by calling .to_s on the word supplied
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@366 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-10 16:03:44 +00:00 |
|
David Heinemeier Hansson
|
38e55bac61
|
Added time unit extensions to Fixnum that'll return the period in seconds, like 2.days + 4.hours
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@365 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-10 13:14:50 +00:00 |
|
David Heinemeier Hansson
|
576b162725
|
Added that all renders and redirects now return false, so they can be used as the last line in before_filters to stop execution.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@364 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-10 01:27:39 +00:00 |
|
David Heinemeier Hansson
|
e96c08b1aa
|
Apparently the temp hack for functional tests was still needed
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@363 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-10 01:17:53 +00:00 |
|
David Heinemeier Hansson
|
c04b71a4b1
|
Removed temporary hack for test/unit problems that only worked for functional tests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@362 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-10 00:40:27 +00:00 |
|
David Heinemeier Hansson
|
590ea2930d
|
Added inclusion of fix for test/unit and rake problems with Ruby 1.8.2
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@361 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-10 00:33:03 +00:00 |
|
David Heinemeier Hansson
|
7027fb8950
|
Added run time fix for the test/unit problems with Ruby 1.8.2
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@360 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-10 00:19:17 +00:00 |
|
David Heinemeier Hansson
|
9041caadb4
|
Added more core_ext to install.rb
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@359 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-09 22:10:21 +00:00 |
|
David Heinemeier Hansson
|
7270f3ae82
|
Added more core_ext to install.rb
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@358 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-09 22:03:52 +00:00 |
|
David Heinemeier Hansson
|
8dd93b3777
|
Updated install.rb
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@357 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-09 21:56:58 +00:00 |
|
David Heinemeier Hansson
|
1de33ac2f9
|
Removed last trace of ill-conceived authentication framework
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@356 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-09 21:45:43 +00:00 |
|
David Heinemeier Hansson
|
11f766d3eb
|
Removed authentication framework as xal made me realize that with noradios conditional filters, it was actually more code to use the framework than doing it by hand. Killing a darling! Props to noradio for the patch and xal for the nerve to stand up and question the captain before the plane crashed. Oh, and a pad on my own back for walking away from a couple of hours of work without getting pissy
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@355 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-09 17:21:29 +00:00 |
|
David Heinemeier Hansson
|
677d92299b
|
Added conditional filters #431 [Marcel]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@354 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-09 17:14:47 +00:00 |
|
David Heinemeier Hansson
|
c83683202a
|
Added write_inheritable_hash to use with conditional filters in Action Pack
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@353 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-09 17:05:02 +00:00 |
|
David Heinemeier Hansson
|
cbd367b7fa
|
Added :before option to authentication
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@352 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-09 16:43:21 +00:00 |
|
David Heinemeier Hansson
|
75fca04590
|
Added authentication framework to protect actions behind a condition and redirect on failure. See ActionController::Authentication for more.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@351 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-09 15:20:00 +00:00 |
|
David Heinemeier Hansson
|
298cbbd3a0
|
Added the first of the coming core extensions
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@350 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-09 15:02:39 +00:00 |
|
David Heinemeier Hansson
|
f626aece79
|
Added the first of the coming core extensions
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@349 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-09 15:00:45 +00:00 |
|
David Heinemeier Hansson
|
7145046493
|
Added rewrite conditions needed for page caching to work
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@348 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-08 23:46:29 +00:00 |
|
David Heinemeier Hansson
|
0b6fe2244e
|
Taken out as noradio took over
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@347 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-08 23:41:42 +00:00 |
|
David Heinemeier Hansson
|
df79e135ac
|
Added first stab at page and fragment caching
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@346 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-08 23:32:11 +00:00 |
|
David Heinemeier Hansson
|
48f590a42e
|
Fixed rewriting of dashes, lashes
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@345 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-08 14:22:29 +00:00 |
|
David Heinemeier Hansson
|
b64004fda6
|
Fixed that conditions in has_many and has_and_belongs_to_many should be interpolated just like the finder_sql is
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@344 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-07 03:55:24 +00:00 |
|
David Heinemeier Hansson
|
98c02b9656
|
Simplified the set_cookie method and made it indifferent to symbol or string as name
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@343 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-06 23:25:19 +00:00 |
|
David Heinemeier Hansson
|
70039d1e91
|
Fixed WEBrick servlet slowdown over time by restricting the load path reloading to mod_ruby #372
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@342 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-06 15:56:57 +00:00 |
|
David Heinemeier Hansson
|
393e98a859
|
Fixed Base#update_attribute to be indifferent to whether a string or symbol is used to describe the name
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@341 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-06 02:36:33 +00:00 |
|
David Heinemeier Hansson
|
d1abe806c5
|
Added Base#toggle(attribute) and Base#toggle!(attribute) that makes it easier to flip a switch or flag. Added Base#increment!(attribute) and Base#decrement!(attribute) that also saves the records. Added Base#increment(attribute) and Base#decrement(attribute) that encapsulates the += 1 and -= 1 patterns.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@340 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-06 02:31:35 +00:00 |
|
David Heinemeier Hansson
|
fd48e70d6c
|
Fixed small issue with ARGV and IRB
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@339 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-05 19:16:50 +00:00 |
|
David Heinemeier Hansson
|
efe0348486
|
Added the possibility of passing nil to UrlHelper#link_to to use the link itself as the name
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@338 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-05 00:38:09 +00:00 |
|
David Heinemeier Hansson
|
f92ae75a23
|
Removed Fancy Indexing as a default option on the WEBrick servlet as it made it harder to use various caching schemes
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@337 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-04 22:50:15 +00:00 |
|
David Heinemeier Hansson
|
0dd43e3868
|
Include package dependency information
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@335 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-04 12:48:09 +00:00 |
|
David Heinemeier Hansson
|
395a25c47d
|
Upgrade the dependencies of the Rails gem
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@334 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-04 12:37:45 +00:00 |
|
David Heinemeier Hansson
|
f2e6945b25
|
Prepared for release of 0.9.3
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@333 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-04 12:35:10 +00:00 |
|
David Heinemeier Hansson
|
2afdf01e5c
|
Minor tweak for readability
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@332 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-04 11:00:48 +00:00 |
|
David Heinemeier Hansson
|
6f711551d4
|
Fixed some thread safety issues with DB2
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@331 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-04 10:55:34 +00:00 |
|
David Heinemeier Hansson
|
3e74ea89bc
|
Added MemCacheStore for storing session data in Danga's MemCache system [Bob Cottrell]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@330 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-04 02:09:38 +00:00 |
|
David Heinemeier Hansson
|
d05fa50914
|
Fixed #406 for real
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@329 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-04 02:03:50 +00:00 |
|
David Heinemeier Hansson
|
f8bc7a4577
|
Fixed that validates_uniqueness_of used 'id' instead of defined primary key #406
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@328 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-04 01:23:38 +00:00 |
|
David Heinemeier Hansson
|
5ac11f2de3
|
Fixed that the overwritten respond_to? method didn't take two parameters like the original #391
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@327 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-03 23:24:31 +00:00 |
|
David Heinemeier Hansson
|
846f0d5ab6
|
Fixed that the overwritten respond_to? method didn't take two parameters like the original #391
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@326 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-03 23:23:02 +00:00 |
|
David Heinemeier Hansson
|
02c21bc986
|
Added support for SQLite in the auto-dumping/importing of schemas for development -> test #416
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@325 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-03 23:15:22 +00:00 |
|
David Heinemeier Hansson
|
d9e900cd9d
|
Fixed the last details to please DB2
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@324 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-03 23:00:44 +00:00 |
|
David Heinemeier Hansson
|
b3739fca2c
|
Nuke the controllers after the dispatcher reload to avoid the superclass mismatch problem
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@323 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
v0.9.3
|
2005-01-02 23:42:21 +00:00 |
|
David Heinemeier Hansson
|
612bb73fec
|
Fixed a YAML fixture on time coming out as an integer #415 [Dan Peterson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@322 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-02 23:31:13 +00:00 |
|
David Heinemeier Hansson
|
3e7a4ecc57
|
Fixed redirects when the controller and action is named the same. Still haven't fixed same controller, module, and action, though #201 [Josh]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@321 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-02 20:10:11 +00:00 |
|
David Heinemeier Hansson
|
1f6c4aca28
|
Fixed loading problems with controller hierarchies
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@320 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-02 19:35:58 +00:00 |
|
David Heinemeier Hansson
|
dc79236120
|
Fixed problems with running multiple functional tests in Rails under 1.8.2 by including hack for test/unit weirdness
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@319 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-02 19:34:49 +00:00 |
|
David Heinemeier Hansson
|
609ca177fa
|
Added HasManyAssociation#count that works like Base#count #413 [intinig]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@318 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-02 18:44:55 +00:00 |
|
David Heinemeier Hansson
|
375568b7cb
|
Fixed problems with dependency caching and controller hierarchies on Ruby 1.8.2 in development mode #351
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@317 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-02 18:32:56 +00:00 |
|
David Heinemeier Hansson
|
569f2ea85b
|
Added the possibility of specifying the remaining options for find_first and find_all with the new find_by/all_by* dynamic finders [danp]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@316 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-02 18:28:18 +00:00 |
|