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
David Heinemeier Hansson
37249f6a86
Fixed that assert_template_xpath_matches did not indicate when a path was not found #658 [Eric Hodel]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@665 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-18 17:13:57 +00:00
David Heinemeier Hansson
5fc48bc54f
Fixed a bit to eager requiring of oracle bindings in oracle adapter #634
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@664 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-18 17:09:50 +00:00
David Heinemeier Hansson
11ffeaf0bb
Fixed functional test path problems #662
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@663 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-18 16:53:25 +00:00
David Heinemeier Hansson
bb817f1ed4
Get Action Service (soon to be renamed Action Web Service) in the loop
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@662 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-18 16:52:40 +00:00
David Heinemeier Hansson
b305756d9f
Added TextHelper#auto_link, TextHelper#auto_link_urls, and TextHelper#auto_link_email_addresses to turn those elements into ahrefs
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@661 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-18 14:06:36 +00:00
David Heinemeier Hansson
bc8e41247b
Integrated Action Service with the existing elements
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@660 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-18 10:58:25 +00:00
Leon Breedt
45acc8c760
test commit
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@659 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-18 10:38:40 +00:00
David Heinemeier Hansson
e7a2938029
Added Action Service to the repository
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@658 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-18 10:35:25 +00:00
David Heinemeier Hansson
e39bf10594
Loading the Routes should happen in the environments #655
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@657 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-17 23:03:48 +00:00
David Heinemeier Hansson
2af41fc036
Added 'recent' as a rake target that'll run tests for files that changed in the last 10 minutes #612 [bitsweat]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@656 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-17 20:12:27 +00:00
David Heinemeier Hansson
2713960dfc
Check class path for conflicts on generation #640 [bitsweat]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@655 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-17 19:40:58 +00:00
David Heinemeier Hansson
96d3f15222
Documentation on :include_blank #579
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@654 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-17 19:38:02 +00:00