David Heinemeier Hansson
620d3a3749
Fixed that the routes.rb file wouldn't be found on symlinked setups due to File.expand_path #793 [piotr@t-p-l.com]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@870 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 23:55:07 +00:00
David Heinemeier Hansson
af081b3677
Fix database creation for postgres (again) #790 [adamm <gnuman1@gmail.com>]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@869 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 23:40:19 +00:00
David Heinemeier Hansson
693e0df352
Fixed rake stats to ignore editor backup files like model.rb~ #791 [skanthak]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@868 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 23:39:12 +00:00
David Heinemeier Hansson
86543a70fb
Fixed issues with caching root pages #734 [Nicholas Seckar]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@867 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 23:37:28 +00:00
David Heinemeier Hansson
19e8b42a56
Changed ActiveRecordStore to use Marshal instead of YAML as the latter proved troublesome in persisting circular dependencies. Updating existing applications MUST clear their existing session table from data to start using this updated store #739 [Jamis Buck]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@866 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 23:34:03 +00:00
David Heinemeier Hansson
9f7a731b96
Logs in GEMs is bad style
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@865 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 22:14:57 +00:00
David Heinemeier Hansson
dbb6403923
Added exception shallowing if the DRb server can't be started (not worth making a fuss about to distract new users) #779 [Tobias Luetke]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@864 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 17:37:49 +00:00
David Heinemeier Hansson
6b42269183
Fixed link_to documentation references nonexistent URL #573
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@863 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 17:35:52 +00:00
David Heinemeier Hansson
1019bf15a3
Added shortcut :id assignment to render_component and friends (before you had to go through :params) #784 [Lucas Carlson]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@862 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 17:27:11 +00:00
David Heinemeier Hansson
10be1c59f8
Added an empty favicon.ico file to the public directory of new applications (so the logs are not spammed by its absence)
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@861 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 17:22:56 +00:00
David Heinemeier Hansson
911614df6e
Added ActiveRecord::Base.colorize_logging to control whether to use colors in logs or not (on by default)
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@860 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 17:18:34 +00:00
David Heinemeier Hansson
7ba3903db6
Fixed that scaffold generator new template should use local variable instead of instance variable #778 [Dan Peterson]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@859 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 14:37:08 +00:00
David Heinemeier Hansson
36a9eff957
Added support for timestamp with time zone in PostgreSQL #560 [Scott Barron]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@858 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 14:31:38 +00:00
David Heinemeier Hansson
4ef7bfb016
Added Object#blank? -- see http://redhanded.hobix.com/inspect/objectBlank.html #783 [_why the lucky stiff]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@857 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 14:22:21 +00:00
David Heinemeier Hansson
10a86b21fb
Allow unit tests to run on a remote server for PostgreSQL #781 [adamm@galacticasoftware.com]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@856 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 14:18:27 +00:00
David Heinemeier Hansson
688f0f6712
Fixed that map.connect should convert arguments to strings #780 [Nicholas Seckar]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@855 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 14:16:25 +00:00
David Heinemeier Hansson
6e5a7340e6
stats need the include paths set by the environment #782 [adamm]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@854 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 14:14:47 +00:00
David Heinemeier Hansson
d2fefbe908
Added MultiparameterAssignmentErrors and AttributeAssignmentError exceptions #777 [demetrius]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@853 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 14:11:26 +00:00
David Heinemeier Hansson
fd9967bca2
Added UrlHelper#link_to_if/link_to_unless to enable other conditions that just link_to_unless_current #757 [mindel]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@852 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 14:06:33 +00:00
David Heinemeier Hansson
9eb04967a4
Added web_service generator (run ./script/generate web_service for help) #776 [Leon Bredt]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@851 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 14:02:27 +00:00
David Heinemeier Hansson
2581806abd
Added web_service generator (run ./script/generate web_service for help) #776 [Leon Bredt]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@850 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 14:01:52 +00:00
David Heinemeier Hansson
cbb65c39ec
Fixed that postgresql adapter would fails when reading bytea fields with null value #771 [rodrigo k]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@849 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 13:59:15 +00:00
David Heinemeier Hansson
00fe726a76
Updated docs on auto-indexing #765 [Astinus]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@848 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 13:57:16 +00:00
David Heinemeier Hansson
87b55f59dd
Updated wording in YAML error [noradio]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@847 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 13:53:29 +00:00
David Heinemeier Hansson
903ef71b99
Added transactional fixtures that uses rollback to undo changes to fixtures instead of DELETE/INSERT -- it's much faster. See documentation under Fixtures #760 [bitsweat]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@846 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 13:51:55 +00:00
David Heinemeier Hansson
0ceab8114c
Better yaml fixture error #759 [xal]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@845 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 13:45:22 +00:00
David Heinemeier Hansson
6cae2b7439
Added inflection rules for "sh" words, like "wish" and "fish" #755 [phillip@pjbsoftware.com]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@844 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 13:43:04 +00:00
David Heinemeier Hansson
7267db5890
Added destruction of dependent objects in has_one associations when a new assignment happens #742 [mindel]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@843 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 13:40:21 +00:00
David Heinemeier Hansson
838ae35d63
Added validates_numericality_of #716 [skanthak/c.r.mcgrath]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@842 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 12:43:23 +00:00
David Heinemeier Hansson
12c775f20c
Added app/apis and components to code statistics report #729 [Scott Barron]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@841 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 12:32:02 +00:00
David Heinemeier Hansson
a22ed3d8c2
Use example.com domains to make rails RFC2606 compliant #708
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@840 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 12:27:06 +00:00
David Heinemeier Hansson
5718eb190c
Fixed WEBrick server to use ABSOLUTE_RAILS_ROOT instead of working_directory #687 [Nicholas Seckar]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@839 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 12:24:21 +00:00
David Heinemeier Hansson
6d566e82b4
Fixed rails_generator to be usable without RubyGems #686 [Cristi BALAN]. Moved all active support dependencies into active support
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@838 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 12:20:53 +00:00
David Heinemeier Hansson
25b656fefa
Fixed that single quote was not escaped in a UrlHelper#link_to javascript confirm #549 [Scott Barron]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@837 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
v0.10.1
2005-03-06 12:07:13 +00:00
David Heinemeier Hansson
eb5ca2ea5f
Removed the default border on link_image_to (it broke xhtml strict) -- can be specified with :border => 0 #517 [?/caleb]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@836 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 12:02:17 +00:00
David Heinemeier Hansson
fe6d929bf0
Fixed reflection_for_gps_location test
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@835 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 11:56:22 +00:00
David Heinemeier Hansson
5e44eda787
Fixed that HasManyAssociation#count was using :finder_sql rather than :counter_sql if it was available #445 [Scott Barron]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@834 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 11:53:49 +00:00
David Heinemeier Hansson
dfac1cea3d
Fixed that form helpers would treat string and symbol keys differently in html_options (and possibly create duplicate entries) #112 [bitsweat]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@833 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 11:50:41 +00:00
David Heinemeier Hansson
db41d2dd5c
Fixed -h/--help for generate and destroy generators #331
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@832 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 11:42:17 +00:00
David Heinemeier Hansson
5da277b182
Added begin/rescue around the FCGI dispatcher so no uncaught exceptions can bubble up to kill the process (logs to log/fastcgi.crash.log)
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@831 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-04 12:12:55 +00:00
Leon Breedt
d43392a50b
add action_web_service/test_invoke, will be used by for testing APIs in
...
a Rails project instance.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@830 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-04 10:07:53 +00:00
David Heinemeier Hansson
b78283b3fc
Fixed that broken pipe errors (clients disconnecting in mid-request) could bring down a fcgi process
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@829 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-03 23:12:57 +00:00
David Heinemeier Hansson
3b2e356cd2
Added the original exception message to session recall errors (so you can see which class wasnt required)
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@828 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-03 23:05:16 +00:00
David Heinemeier Hansson
e4106a580e
Fixed an exception when using Ajax based requests from Safari because Safari appends a \000 to the post body. Symbols can't have \000 in them so indifferent access would throw an exception in the constructor. Indifferent hashes now use strings internally instead. #746 [Tobias Luetke]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@827 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-03 22:55:14 +00:00
Leon Breedt
e834be75bc
allow the client to specify options to be passed through to the underlying
...
SOAP::RPC::Driver. add to RDoc an example of using these options to configure SSL
client-certificate authenticated connections to the server.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@826 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-03 21:30:44 +00:00
Leon Breedt
631340d5d1
make the marshaler use the same set of columns as the code that generates
...
WSDL, avoids mismatches when there are associations in the AR model class.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@825 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-02 22:55:00 +00:00
David Heinemeier Hansson
6d688aa20c
Added String#to_time and String#to_date for wrapping ParseDate
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@824 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-02 13:07:02 +00:00
Leon Breedt
7093c9aaab
add missing entry for #allow_active_record_expects
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@823 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-02 10:47:25 +00:00
David Heinemeier Hansson
654370d9ad
Fixed that RAILS_ROOT might not be defined when AP was loaded, so do a late initialization of the ROUTE_FILE #761 [Scott Barron]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@822 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-02 00:03:11 +00:00
David Heinemeier Hansson
02ba03509c
Added better defaults for composed_of, so statements like composed_of :time_zone, :mapping => %w( time_zone time_zone ) can be written without the mapping part (it's now assumed)
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@821 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-01 23:52:36 +00:00