David Heinemeier Hansson
|
7cac2b5e73
|
Changed script/console to default to development environment and drop --no-inspect (I caed) #650 [bitsweat]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@653 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-17 19:36:49 +00:00 |
|
David Heinemeier Hansson
|
bc574a86ac
|
Skip Active Record tests in Action Pack if the SQLite database cant be brought up
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@652 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-17 19:28:13 +00:00 |
|
David Heinemeier Hansson
|
ea3faf3df9
|
Only load ROUTE_FILE if one has been declared
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@651 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-17 19:20:44 +00:00 |
|
David Heinemeier Hansson
|
0e764a5599
|
Addded validation for validate all the associated objects before declaring failure with validates_associated #618 [Tim Bates]. Added that validates_* now accept blocks to perform validations #618 [Tim Bates]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@650 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-17 19:14:15 +00:00 |
|
David Heinemeier Hansson
|
8151c4e84d
|
Fixed that on validation errors, scaffold couldn't find template #654 [mindel]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@649 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-17 19:07:02 +00:00 |
|
David Heinemeier Hansson
|
0aad5abcc8
|
AR, AP, and AM should look for AS in sibling directory before trying RubyGems #648
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@648 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-17 19:04:47 +00:00 |
|
David Heinemeier Hansson
|
02e382a765
|
More tests for Routing related stuff
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@647 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-17 19:00:21 +00:00 |
|
David Heinemeier Hansson
|
04b8bc1bdd
|
Fixed that a bunch of methods from ActionController::Base was accessible as actions (callable through a URL) when they shouldn't have been #644 [Nicholas Seckar]. Base#hide_actions(*names) to hide public methods from a controller that would otherwise have been callable through the URL. For the majority of cases, its preferred just to make the methods you don't want to expose protected or private (so they'll automatically be hidden) -- but if you must have a public method, this is a way to make it uncallable. Base#hidden_actions retrieve the list of all hidden actions for the controller #644 [Nicholas Seckar]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@646 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-17 18:59:51 +00:00 |
|
David Heinemeier Hansson
|
761b18a564
|
Added current_page?(options) method to check if the url_for options passed corresponds to the current page
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@645 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-17 15:34:32 +00:00 |
|
David Heinemeier Hansson
|
3e4064e9f2
|
Simplified link_to_unless_current to work with the new Routing
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@644 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-17 12:25:52 +00:00 |
|
David Heinemeier Hansson
|
5199aea4aa
|
Better fix for requireing a missing route file in unit tests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@643 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-17 02:14:32 +00:00 |
|
David Heinemeier Hansson
|
6a48e89ae7
|
Fix that routes werent being loaded in production environment
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@642 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-17 02:04:37 +00:00 |
|
David Heinemeier Hansson
|
ead404ccd0
|
Forget defaults :action if :controller changed at all
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@641 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-17 01:55:59 +00:00 |
|
David Heinemeier Hansson
|
29066036f2
|
Make Routes drop the default for action when the controller changes #651
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@640 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-17 01:46:29 +00:00 |
|
David Heinemeier Hansson
|
c00bf5f0c6
|
Fixed the verbosity of using the AR store
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@639 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-17 01:23:41 +00:00 |
|
David Heinemeier Hansson
|
2d9e59b2b6
|
Enable diagnostics screen again
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@638 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-16 16:39:14 +00:00 |
|
David Heinemeier Hansson
|
07dcbd97b9
|
Fixed https handling on other ports than 443 [Alan Gano]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@637 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-16 12:08:00 +00:00 |
|
David Heinemeier Hansson
|
d4aead0d50
|
Made apache start out on cgi and added back the default apache options
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@635 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-15 23:34:21 +00:00 |
|
David Heinemeier Hansson
|
55b6e884c5
|
Forget to addd this
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@634 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-15 23:03:44 +00:00 |
|
David Heinemeier Hansson
|
6d20fd63f8
|
Go away you silly externals
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@633 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-15 23:01:48 +00:00 |
|
David Heinemeier Hansson
|
ffddb0d367
|
Tied to specific version of support
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@632 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-15 22:57:09 +00:00 |
|
David Heinemeier Hansson
|
b04618e707
|
Fixed generated functional test for nested controllers has wrong paths #635
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@631 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-15 19:35:13 +00:00 |
|
David Heinemeier Hansson
|
575ad6d445
|
Dont generate rdoc for railties
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@630 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-15 16:46:53 +00:00 |
|
David Heinemeier Hansson
|
5dabc92cf9
|
Call Active Support 0.9 until release
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@629 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-15 16:43:13 +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
|
b3767f7f0b
|
All libraries should link against the independent active support
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@626 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-15 16:16:13 +00:00 |
|
David Heinemeier Hansson
|
ca175ed7c9
|
All libraries should link against the independent active support
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@625 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-15 16:15:02 +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
|
5e0223ae21
|
No leading return
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@621 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-15 13:41:28 +00:00 |
|
David Heinemeier Hansson
|
b072965930
|
Updated the Rails generator command to work
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@620 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-15 13:09:18 +00:00 |
|
David Heinemeier Hansson
|
4ce69d79b7
|
Fix test case for MySQL #598
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@619 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-15 02:06:52 +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
|
60f7a5cab7
|
Added routing itself.. wonder why that didnt make it through the merge
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@615 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-15 01:02:37 +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
|
a3298e5efd
|
Small indent
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@613 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-15 00:03:18 +00:00 |
|
David Heinemeier Hansson
|
65f834ad45
|
Stringify the parameters on follow_redirect
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@587 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-12 21:54:34 +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
|
61a6a440cb
|
Added follow_redirect method for functional tests that'll get-request the redirect that was made.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@585 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-12 19:35:30 +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
|
e505a45173
|
Fixed whitespace
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@580 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-11 13:04:10 +00:00 |
|
David Heinemeier Hansson
|
66b504b1f7
|
Fixed double requiring of models with the same name as the controller
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@579 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-11 13:03:34 +00:00 |
|
David Heinemeier Hansson
|
02d0558738
|
Make the store less verbose when saving the session data
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@529 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-07 19:12:11 +00:00 |
|
David Heinemeier Hansson
|
1aa82b3217
|
Added keyword-style approach to defining the custom relational bindings #545 [Jamis Buck]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@527 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-07 14:26:57 +00:00 |
|
David Heinemeier Hansson
|
b8e4c78abb
|
Fixed that query params could be forced to nil on a POST due to the raw post fix #562 [moriq@moriq.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@526 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-07 14:23:19 +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 |
|