aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* r2915@asus: jeremy | 2005-11-06 05:02:53 -0800Jeremy Kemper2005-11-067-69/+130
| | | | | | | Rename Base.constrain to Base.with_scope so it doesn't conflict with existing concept of database constraints. Make scoping more robust: uniform method => parameters, validated method names and supported finder parameters, raise exception on nested scopes. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2888 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that SQL Server should ignore :size declarations on anything but ↵David Heinemeier Hansson2005-11-062-1/+12
| | | | | | integer and string in the agnostic schema representation (closes #2756) [Ryan Tomayko] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2887 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* svn:externals is now an explicit option for script/plugin (closes #2755) ↵David Heinemeier Hansson2005-11-061-35/+27
| | | | | | [Ryan Tomayko] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2886 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Enable HTTP installation of plugins when svn isn't avaialable. Closes #2661. ↵Sam Stephenson2005-11-062-8/+74
| | | | | | [Chad Fowler] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2885 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Move info.rb to rails_info.rb and load Rails::Info after initializationSam Stephenson2005-11-054-5/+23
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2884 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added script/about to display formatted Rails::Info outputSam Stephenson2005-11-057-13/+36
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2883 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Rails::Info to catalog assorted information about a Rails ↵Sam Stephenson2005-11-053-0/+145
| | | | | | application's environment git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2882 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update changelogSam Stephenson2005-11-051-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2881 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added action_pack.rb stub so that ActionPack::Version loads properlySam Stephenson2005-11-051-0/+24
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2880 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Scaffold-generated controller action gives paginate the plural_ rather than ↵Jeremy Kemper2005-11-051-1/+1
| | | | | | singular_name. Closes #2743. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2879 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update paginator docs. Closes #2744.Jeremy Kemper2005-11-051-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2878 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* script/lighttpd: Detach and exit the forked processSam Stephenson2005-11-041-3/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2877 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix assert_no_tagDavid Heinemeier Hansson2005-11-041-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2876 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* script/lighttpd: tail the logfile when running in the foreground, and ↵Sam Stephenson2005-11-042-12/+41
| | | | | | attempt to guess the port number git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2875 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added skip_before_filter/skip_after_filter for easier control of the filter ↵David Heinemeier Hansson2005-11-044-3/+69
| | | | | | chain in inheritance hierachies [DHH] Added short-hand to assert_tag so assert_tag :tag => "span" can be written as assert_tag "span" [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2873 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added extension capabilities to has_many and has_and_belongs_to_many proxies ↵David Heinemeier Hansson2005-11-0411-47/+151
| | | | | | [DHH] Added find_or_create_by_X as a second type of dynamic finder that'll create the record if it doesn't already exist [DHH] Added constrain scoping for creates using a hash of attributes bound to the :creation key [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2872 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Omit internal dtproperties table from SQLServer table list. Closes #2729.Jeremy Kemper2005-11-042-5/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2869 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't reap the spawner or reaper scripts either. Closes #2727.Jeremy Kemper2005-11-041-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2868 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Explicitly require topic from reply fixture.Jeremy Kemper2005-11-041-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2867 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Quote column names in generated SQL. Closes #2728.Jeremy Kemper2005-11-042-2/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2866 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't reap spawn-fcgi. Closes #2727.Jeremy Kemper2005-11-032-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2865 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Correct the pure-Ruby MySQL 4.1.1 shim's version test. Closes #2718.Jeremy Kemper2005-11-032-13/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2864 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add Model.create! to match existing model.save! method. When save! raises ↵Jeremy Kemper2005-11-033-37/+77
| | | | | | 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
* Correct fixture behavior when table name pluralization is off. Closes #2719.Jeremy Kemper2005-11-032-4/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2862 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added extension capabilities to has_many and has_and_belongs_to_many proxies ↵David Heinemeier Hansson2005-11-036-10/+91
| | | | | | [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2861 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Restore the fast Numeric#blank? Closes #2714.Jeremy Kemper2005-11-031-0/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2853 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Reaper knows how to find processes even if the dispatch path is very long. ↵Jeremy Kemper2005-11-022-3/+5
| | | | | | Closes #2711. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2851 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Correct reader method generation for primary key attribute: handle case when ↵Jeremy Kemper2005-11-022-13/+12
| | | | | | 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
* Changed 0.blank? to false rather than true since it violates everyone's ↵Jeremy Kemper2005-11-024-10/+19
| | | | | | expectation of blankness. Closes #2518, Closes #2705. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2849 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added redirect_to :back as a short-hand for ↵David Heinemeier Hansson2005-11-023-0/+18
| | | | | | redirect_to(request.env["HTTP_REFERER"]) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2848 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make fcgi handler respond to TERM signals with an explicit exitJamis Buck2005-11-023-2/+24
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2847 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added demonstration of fixture use to the test case generated by the model ↵David Heinemeier Hansson2005-11-023-7/+5
| | | | | | generator [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2846 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* If specified, pass PostgreSQL client character encoding to createdb. Closes ↵Jeremy Kemper2005-11-022-1/+4
| | | | | | #2703. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2843 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* ensure close_session in AC::Base#processJeremy Kemper2005-11-021-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2842 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Failsafe response handler for dispatcher.Jeremy Kemper2005-11-023-9/+68
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2841 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Simplify gem search for :freeze_gems rake task.Jeremy Kemper2005-11-011-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2840 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Move Dispatcher.dispatch CGI.new out of default args and into rescuable ↵Jeremy Kemper2005-11-012-12/+14
| | | | | | 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
* The freeze_gems Rake task accepts the VERSION environment variable to decide ↵Jeremy Kemper2005-11-012-6/+23
| | | | | | 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
* A missing primary key column shouldn't raise an error when generating its ↵Jeremy Kemper2005-11-012-1/+3
| | | | | | error message. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2837 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Change javascript_include_tag :defaults to not use script.aculo.us loader, ↵Thomas Fuchs2005-11-0111-705/+46
| | | | | | 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
* Added that an DuplicateMigrationVersionError gets raised when multiple ↵Florian Weber2005-10-316-4/+63
| | | | | | migrations have the same version number. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2832 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* We want ::Plugin, not Commands::Plugin. Closes #2664.Jeremy Kemper2005-10-301-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2831 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* The freeze_edge Rake task does smarter svn detection and can export a ↵Jeremy Kemper2005-10-302-7/+13
| | | | | | 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
* Fix problem where redirecting components can cause an Scott Barron2005-10-303-0/+8
| | | | | | | | | infinite loop [Rick Olson] Closes #2654 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2829 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Patches go to trac nowDavid Heinemeier Hansson2005-10-301-4/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2828 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Last conversion from dbfile to databaseDavid Heinemeier Hansson2005-10-301-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2827 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Changed :dbfile to :database for SQLite adapter for consistency (old key ↵David Heinemeier Hansson2005-10-309-21/+25
| | | | | | 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
* Comment database.yml and include PostgreSQL and SQLite examples.Jeremy Kemper2005-10-302-2/+71
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2823 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improve script/plugin on Windows. Closes #2646.Jeremy Kemper2005-10-292-3/+29
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2821 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed erroneous arg-size check in AC::Base.fragment_cache_store=. Closes ↵Jeremy Kemper2005-10-291-1/+1
| | | | | | #2650. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2820 5ecf4fe2-1ee6-0310-87b1-e25e094e27de