David Heinemeier Hansson
e4f07888ce
Made caching work for WEBrick and lighttpd by appending .html for all URLs not already containing a dot
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@715 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-20 17:18:59 +00:00
David Heinemeier Hansson
69d0f50206
Added support for independent components residing in /components
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@714 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-20 13:58:03 +00:00
David Heinemeier Hansson
12a7573630
Added new keyword to specify load paths as being component based. Added better logging for component calls
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@713 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-20 13:50:13 +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
8c40759b10
Allow downloading of WSDL for an AWS controller as a proper file #674
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@710 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-20 10:55:08 +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
Leon Breedt
6a7fc51c66
add code coverage testing scripts, remove dead code
...
detected by said scripts
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@708 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-20 01:07:54 +00:00
David Heinemeier Hansson
acb3d2cf75
Fixed internal calling
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@707 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-20 00:02:02 +00:00
David Heinemeier Hansson
cf6d77600a
Tests and tweaks for components
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@706 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-19 23:51:59 +00:00
David Heinemeier Hansson
0011116592
Unit tests for rendering components
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@705 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-19 23:49:12 +00:00
David Heinemeier Hansson
b60ba807d0
Add AWS as a vendor dir
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@704 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-19 23:22:01 +00:00
David Heinemeier Hansson
cae0f46eda
Fixed a few tests
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@703 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-19 23:21:08 +00:00
David Heinemeier Hansson
c4a3de5013
Fixed the scaffolding/routing issue for real
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@702 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-19 23:09:28 +00:00
David Heinemeier Hansson
d7845d2919
Added --sandbox option to script/console that'll roll back all changes made to the database when you quit #672 [bitsweat]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@701 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-19 23:07:57 +00:00
David Heinemeier Hansson
b008b6f194
Added --sandbox option to script/console that'll roll back all changes made to the database when you quit #672 [bitsweat]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@700 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-19 21:57:43 +00:00
David Heinemeier Hansson
3fad0cd06c
Added support for charsets for both subject and body. The default charset is now UTF-8 #673 [Jamis Buck]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@699 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-19 21:51:16 +00:00
David Heinemeier Hansson
7d3d83e7b4
Use full status for render_component from within a controller
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@698 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-19 20:33:15 +00:00
David Heinemeier Hansson
86b86b2647
Added preliminary version of render_component
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@697 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-19 20:29:55 +00:00
David Heinemeier Hansson
0de0d207e8
Added Afghanistan (no more conspiracy!) to FormOptions#country_select and FormOptions#country_options_for_select
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@696 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-19 20:15:57 +00:00
David Heinemeier Hansson
9b5ece87d4
Added :order option for date_select that allows control over the order in which the date dropdowns is used and which of them should be used #619 [Tim Bates]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@695 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-19 18:26:37 +00:00
David Heinemeier Hansson
9a5d6d6388
Added ActionView::Base.register_template_handler for easy integration of an alternative template language to ERb and Builder. See test/controller/custom_handler_test.rb for a usage example #656 [Jamis Buck]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@694 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-19 17:22:37 +00:00
David Heinemeier Hansson
9be37c9b20
Fixed scaffolding and routes conflict #669
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@693 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-19 17:10:04 +00:00
David Heinemeier Hansson
70f891a789
A few ignores
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@692 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-19 16:42:10 +00:00
David Heinemeier Hansson
83efffbcf6
Fix module support for controller generators #668 [Ulysses]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@691 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-19 16:41:39 +00:00
David Heinemeier Hansson
c56816e102
One comma too much
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@690 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-19 16:23:04 +00:00
David Heinemeier Hansson
2a5fc27cea
Added AssetTagHelper that provides methods for linking a HTML page together with other assets, such as javascripts, stylesheets, and feeds.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@689 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-19 16:04:50 +00:00
David Heinemeier Hansson
ad1fe7dd27
Completed FormTagHelper by adding radio_button_tag and select_tag
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@688 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-19 13:09:09 +00:00
David Heinemeier Hansson
967339e4d3
Added FormTagHelper that provides a number of methods for creating form tags that doesn't rely on conventions with an object assigned to the template like FormHelper does. With the FormTagHelper, you provide the names and values yourself.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@687 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-19 12:49:14 +00:00
David Heinemeier Hansson
b6854c648b
Added Iran and Irak to the countries list used by FormOptions#country_select and FormOptions#country_options_for_select
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@686 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-19 12:22:13 +00:00
David Heinemeier Hansson
5eac7ad1d9
Updated tests for TextHelper#auto_link
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@685 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-19 12:19:20 +00:00
David Heinemeier Hansson
0369ec79a9
Made auto_link the only public method of its clan and added an option to control what to be linked instead
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@684 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-19 12:15:38 +00:00
David Heinemeier Hansson
677005c349
Added Iran and Irak to the countries list used by country_select and country_options_for_select
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@683 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-19 12:10:19 +00:00
David Heinemeier Hansson
9bb8c107fa
Renamed link_to_image to link_image_to (since thats what it actually does) -- kept alias for the old method name
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@682 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-19 11:33:32 +00:00
David Heinemeier Hansson
06b8936914
Fixed that find_by_* would fail when column names had numbers #670 [demetrius]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@681 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-19 11:30:38 +00:00
Leon Breedt
5f3f44e76f
ensure clients can handle APIs with named parameter signatures,
...
and test for this
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@680 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-19 09:07:35 +00:00
Leon Breedt
418d487020
refactoring:
...
* move dispatching out of the Container into Dispatcher, it makes more sense
for Container to only contain the list of web services defined
in it.
* collapse Wsdl and ActionController "routers" into
an ActionController-specific module, no advantage
to having them seperate as they were quite tightly
coupled. rename to Dispatcher, to avoi
confusion with Routing.
* add a "_thing" suffix to concept-specific filenames. this is so that
we don't end up with many soap.rb files, for example.
* remove "virtual invocation" support. adds complexity, and it doesn't
seem to add any value.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@679 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-19 08:29:42 +00:00
David Heinemeier Hansson
e7499638d0
Use per-document setting for hardbreaks on textile
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@678 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-19 02:00:06 +00:00
David Heinemeier Hansson
cdd2e844a4
Added defaults and regexp requirements to Routing #666
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@677 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-19 01:16:09 +00:00
David Heinemeier Hansson
578d0ce5e5
More Action Web Service minor tweaks
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@676 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-19 00:36:39 +00:00
David Heinemeier Hansson
57c32677c9
Fixed the SQL Server adapter on a bunch of issues #667 [DeLynn]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@675 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-19 00:05:40 +00:00
David Heinemeier Hansson
cd896fa138
Renamed action_service to action_web_service
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@674 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-19 00:02:21 +00:00
David Heinemeier Hansson
6b7c6e088f
Fixed textilize for RedCloth3 to keep doing hardbreaks
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@673 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-19 00:01:36 +00:00
Leon Breedt
ec03a60181
rename entire package to Action Web Service
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@672 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-18 23:55:29 +00:00
David Heinemeier Hansson
5760a6cb3e
Clear route defaults using :name => nil #663
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@671 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-18 23:53:18 +00:00
David Heinemeier Hansson
519fe7ccbc
Added URL escaping for routing #664
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@670 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-18 23:52:28 +00:00
David Heinemeier Hansson
7a67d0f617
Renamed Action Service to Action Web Service
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@669 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-18 23:43:09 +00:00
Leon Breedt
fdecb6843b
rename service* to web_service*.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@668 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-18 21:22:52 +00:00
David Heinemeier Hansson
5dcbe933df
Added validates_each that validates each specified attribute against a block #610 [bitsweat]. Added :allow_nil as an explicit option for validates_length_of, so unless that's set to true having the attribute as nil will also return an error if a range is specified as :within #610 [bitsweat]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@667 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-18 17:27:26 +00:00
David Heinemeier Hansson
28edbca477
Fixed that the dynamic finder like find_all_by_something_boolean(false) didn't work #649 [lmarlow@yahoo.com]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@666 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-18 17:16:04 +00:00