Jeremy Kemper
|
189b7907d5
|
Correct the pure-Ruby MySQL 4.1.1 shim's version test. Closes #2718.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2864 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-11-03 21:17:32 +00:00 |
|
Jeremy Kemper
|
44d1420757
|
Add Model.create! to match existing model.save! method. When save! raises RecordInvalid, you can catch the exception, retrieve the invalid record (invalid_exception.record), and see its errors (invalid_exception.record.errors).
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2863 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-11-03 18:54:16 +00:00 |
|
Jeremy Kemper
|
e024f2f1bf
|
Correct fixture behavior when table name pluralization is off. Closes #2719.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2862 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-11-03 15:43:48 +00:00 |
|
David Heinemeier Hansson
|
8c512a1caf
|
Added extension capabilities to has_many and has_and_belongs_to_many proxies [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2861 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-11-03 09:06:42 +00:00 |
|
Jeremy Kemper
|
f109bfb765
|
Restore the fast Numeric#blank? Closes #2714.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2853 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-11-03 01:32:25 +00:00 |
|
Jeremy Kemper
|
26311f6cd0
|
Reaper knows how to find processes even if the dispatch path is very long. Closes #2711.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2851 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-11-02 22:05:45 +00:00 |
|
Jeremy Kemper
|
aabf9093a0
|
Correct reader method generation for primary key attribute: handle case when primary_key is defined but its column is nil, such as when the model class is backed by a view.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2850 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-11-02 17:30:59 +00:00 |
|
Jeremy Kemper
|
ac58ba60f6
|
Changed 0.blank? to false rather than true since it violates everyone's expectation of blankness. Closes #2518, Closes #2705.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2849 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-11-02 15:37:58 +00:00 |
|
David Heinemeier Hansson
|
4f754985d0
|
Added redirect_to :back as a short-hand for redirect_to(request.env["HTTP_REFERER"])
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2848 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-11-02 14:47:03 +00:00 |
|
Jamis Buck
|
49cd52a93f
|
Make fcgi handler respond to TERM signals with an explicit exit
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2847 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-11-02 13:21:22 +00:00 |
|
David Heinemeier Hansson
|
a52132af58
|
Added demonstration of fixture use to the test case generated by the model generator [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2846 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-11-02 10:15:31 +00:00 |
|
Jeremy Kemper
|
f457ef46cf
|
If specified, pass PostgreSQL client character encoding to createdb. Closes #2703.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2843 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-11-02 03:30:15 +00:00 |
|
Jeremy Kemper
|
ddf6910941
|
ensure close_session in AC::Base#process
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2842 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-11-02 01:23:34 +00:00 |
|
Jeremy Kemper
|
1cfd25a774
|
Failsafe response handler for dispatcher.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2841 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-11-02 01:20:36 +00:00 |
|
Jeremy Kemper
|
b4b47e560e
|
Simplify gem search for :freeze_gems rake task.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2840 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-11-01 18:56:56 +00:00 |
|
Jeremy Kemper
|
144f78be41
|
Move Dispatcher.dispatch CGI.new out of default args and into rescuable block so the dispatcher catches its errors rather than the fcgi handler.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2839 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-11-01 18:29:41 +00:00 |
|
Jeremy Kemper
|
30b9d6d28a
|
The freeze_gems Rake task accepts the VERSION environment variable to decide which version of Rails to pull into vendor/rails.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2838 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-11-01 18:26:06 +00:00 |
|
Jeremy Kemper
|
c827b3f15c
|
A missing primary key column shouldn't raise an error when generating its error message.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2837 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-11-01 18:21:46 +00:00 |
|
Thomas Fuchs
|
d47f3bcbad
|
Change javascript_include_tag :defaults to not use script.aculo.us loader, which facilitates the use of plugins for future script.aculo.us and third party javascript extensions, and provide register_javascript_include_default for plugins to specify additional JavaScript files to load. Removed scriptaculous.js, slider.js and builder.js
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2835 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-11-01 06:34:40 +00:00 |
|
Florian Weber
|
d5859d0b17
|
Added that an DuplicateMigrationVersionError gets raised when multiple migrations have the same version number.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2832 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-31 15:43:02 +00:00 |
|
Jeremy Kemper
|
aa0f382d08
|
We want ::Plugin, not Commands::Plugin. Closes #2664.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2831 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-30 17:26:55 +00:00 |
|
Jeremy Kemper
|
80a8d75bf1
|
The freeze_edge Rake task does smarter svn detection and can export a specific revision by passing the REVISION environment variable. For example: rake freeze_edge REVISION=1234. Closes #2663.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2830 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-30 17:17:05 +00:00 |
|
Scott Barron
|
025949102e
|
Fix problem where redirecting components can cause an
infinite loop [Rick Olson]
Closes #2654
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2829 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-30 13:13:02 +00:00 |
|
David Heinemeier Hansson
|
5500d13dd5
|
Patches go to trac now
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2828 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-30 12:58:41 +00:00 |
|
David Heinemeier Hansson
|
749b027ef0
|
Last conversion from dbfile to database
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2827 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-30 08:32:04 +00:00 |
|
David Heinemeier Hansson
|
c21fdf31a5
|
Changed :dbfile to :database for SQLite adapter for consistency (old key still works as an alias) (closes #2644) [Dan Peterson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2825 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-30 08:10:04 +00:00 |
|
Jeremy Kemper
|
ea44527afd
|
Comment database.yml and include PostgreSQL and SQLite examples.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2823 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-30 04:00:18 +00:00 |
|
Jeremy Kemper
|
08acb95a3f
|
Improve script/plugin on Windows. Closes #2646.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2821 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-29 23:44:25 +00:00 |
|
Jeremy Kemper
|
54a4e50662
|
Removed erroneous arg-size check in AC::Base.fragment_cache_store=. Closes #2650.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2820 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-29 23:12:13 +00:00 |
|
Jeremy Kemper
|
eaf296f8fc
|
The *_plugindoc Rake tasks look deeper into the plugins' lib directories. Closes #2652.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2819 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-29 23:04:10 +00:00 |
|
David Heinemeier Hansson
|
68160b3485
|
Added migration support for Oracle (closes #2647) [Michael Schoen]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2817 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-29 18:40:49 +00:00 |
|
Jeremy Kemper
|
14b60fc074
|
Worked around that connection can't be reset if allow_concurrency is off. Closes #2648.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2816 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-29 18:17:13 +00:00 |
|
Jeremy Kemper
|
39ada91f80
|
The PostgreSQL :db_structure_dump task limits its dump to the schema search path in database.yml.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2814 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-29 17:07:49 +00:00 |
|
Marcel Molina
|
2af3743ba2
|
Add task to generate rdoc for all installed plugins.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2812 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-29 15:52:07 +00:00 |
|
Thomas Fuchs
|
56ae4ab547
|
Added support for the queue option on visual_effect
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2807 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-29 15:01:39 +00:00 |
|
Thomas Fuchs
|
d8f0a3f93c
|
Update script.aculo.us to V1.5_rc4
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2802 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-29 11:48:53 +00:00 |
|
Jeremy Kemper
|
0a6d608253
|
Beef up test fixtures documentation for test/test_helper.rb
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2801 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-29 07:32:33 +00:00 |
|
Jeremy Kemper
|
24e3dbb806
|
Add default Mac + DarwinPorts MySQL socket locations to the app generator.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2800 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-29 07:31:00 +00:00 |
|
Jeremy Kemper
|
4194384704
|
Don't dirty up the command delegates' base class with methods that belong in the migration generator class.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2799 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-29 04:52:59 +00:00 |
|
Jeremy Kemper
|
85513e37bf
|
Migrations may be destroyed: script/destroy migration foo. Closes #2635.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2798 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-29 04:47:51 +00:00 |
|
David Heinemeier Hansson
|
25410d53cf
|
Added that plugins can carry generators and that generator stub files can be created along with new plugins using script/generate plugin <name> --with-generator [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2797 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-28 23:52:34 +00:00 |
|
David Heinemeier Hansson
|
7376da4a2c
|
Removed app/apis as a default empty dir since its automatically created when using script/generate web_service [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2796 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-28 22:01:11 +00:00 |
|
Sam Stephenson
|
5ba5eb8246
|
Trim down the default mimetypes in config/lighttpd.conf.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2795 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-28 21:44:52 +00:00 |
|
David Heinemeier Hansson
|
f78a01820d
|
Dont hardcode
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2794 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-28 21:27:00 +00:00 |
|
David Heinemeier Hansson
|
0a735ca4b3
|
Added script/plugin to manage plugins (install, remove, list, etc) [Ryan Tomayko]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2793 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-28 21:21:07 +00:00 |
|
David Heinemeier Hansson
|
419794d8ba
|
Work, but better!
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2792 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-28 20:42:00 +00:00 |
|
David Heinemeier Hansson
|
1832447fb6
|
You've been down that road, Neo. You know where it ends. And I know it's not where you want to be.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2791 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-28 20:37:21 +00:00 |
|
Jeremy Kemper
|
927b847239
|
Add Rakefile to plugin generator. Let test_plugins rake task look deeper into plugins' test dirs. Make plugin test cases flunk by default.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2790 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-28 20:28:09 +00:00 |
|
David Heinemeier Hansson
|
fd1d6d0eb3
|
Move down to 1 proc by default and a bit more help
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2789 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-28 20:09:52 +00:00 |
|
David Heinemeier Hansson
|
b7a2973f71
|
Added test_plugins task: Run the plugin tests in vendor/plugins/**/test (or specify with PLUGIN=name) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2788 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-28 19:52:28 +00:00 |
|