David Heinemeier Hansson
|
506fd8ea57
|
Fixed error rendering of rxml documents to not just swallow the exception and return 0 (still not guessing the right line, but hey)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@238 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-21 02:05:12 +00:00 |
David Heinemeier Hansson
|
6ea54a630a
|
Deal with associated classes that doesnt reside in their own files
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@237 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-20 21:48:38 +00:00 |
David Heinemeier Hansson
|
2e3106b617
|
Checked in the proper version of const_missing
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@236 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-20 16:57:56 +00:00 |
David Heinemeier Hansson
|
5df6128bfd
|
Forgot a "or" in Inflector
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@235 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-20 16:55:26 +00:00 |
David Heinemeier Hansson
|
3e5a880987
|
Switched strategy on the id_before_type_cast problem and just did an explicit method so postgresql wouldnt choke on id is null
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@234 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-20 13:32:09 +00:00 |
David Heinemeier Hansson
|
8537d5eb93
|
Added a require_association hook on const_missing that makes it possible to use any model class without requiring it first. Added that Active Record associations are now reloaded instead of cleared to work with the new const_missing hook in Active Record.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@233 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-20 13:21:01 +00:00 |
David Heinemeier Hansson
|
ef489ca2ad
|
Pulling attributes_from_column_definition should set the primary id to nil instead of not at all
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@232 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-19 23:11:06 +00:00 |
David Heinemeier Hansson
|
2f26785425
|
Scrap that
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@231 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-19 22:49:56 +00:00 |
David Heinemeier Hansson
|
c489b87d9d
|
Dont define respond_to? lookups for primary key
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@230 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-19 22:40:09 +00:00 |
David Heinemeier Hansson
|
dad37cfafa
|
FormHelper should only use *_before_type_cast if they available on the model
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@229 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-19 16:39:56 +00:00 |
David Heinemeier Hansson
|
69cb942d9b
|
Changed the interface on AbstractAdapter to require that adapters return the number of affected rows on delete and update operations. Added that Base.update_all and Base.delete_all return an integer of the number of affected rows #341
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@228 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-19 16:21:55 +00:00 |
David Heinemeier Hansson
|
88192b9b1b
|
Added that query benchmarking will only happen if its going to be logged anyway #344
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@227 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-19 14:24:16 +00:00 |
David Heinemeier Hansson
|
830c561e71
|
Reworded a few doc things for better comprehension [dblack]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@226 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-19 14:17:28 +00:00 |
David Heinemeier Hansson
|
0f478181e4
|
Fixed small doc bug [dblack]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@225 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-19 13:59:23 +00:00 |
David Heinemeier Hansson
|
c8b24915c6
|
Fixed that textilize and markdown would instantiate their engines even on empty strings. This also fixes #333 [Ulysses]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@224 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-19 13:33:51 +00:00 |
David Heinemeier Hansson
|
b586c7a97a
|
Added graceful handling of an inaccessible log file by redirecting output to STDERR with a warning #330 [rainmkr]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@223 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-19 13:29:39 +00:00 |
David Heinemeier Hansson
|
3b56b85906
|
Updated the documentation #329 [rainmkr]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@222 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-19 13:10:18 +00:00 |
David Heinemeier Hansson
|
356f16006b
|
Added higher_item and lower_item as public methods for acts_as_list #342 [Tobias Luetke]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@221 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-19 13:01:47 +00:00 |
David Heinemeier Hansson
|
eeae1eecb9
|
Added documentation for automatic layout inclusion #328 [Marcel]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@220 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-19 12:56:31 +00:00 |
David Heinemeier Hansson
|
d19b1810db
|
Added support for a -h/--help parameter in the generator #331 [Ulysses]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@219 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-19 12:55:22 +00:00 |
David Heinemeier Hansson
|
01f05551c0
|
Added breakpoints to stand-alone Active Record, so we can use them in tests for AR
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@218 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-19 11:49:08 +00:00 |
David Heinemeier Hansson
|
a2130c22d7
|
Set a high default salary within the validation range
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@217 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-19 11:44:59 +00:00 |
David Heinemeier Hansson
|
87b0d72fe6
|
Added Developer#salary for the type tests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@216 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-19 11:41:34 +00:00 |
David Heinemeier Hansson
|
7b5ed66122
|
Added respondence to *_before_type_cast for all attributes to return their string-state before they were type casted by the column type. Added use of *_before_type_cast for all input and text fields.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@215 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-19 11:25:55 +00:00 |
David Heinemeier Hansson
|
61960e7b37
|
Added Request#port_string to get something like ":8080" back on 8080 and "" on 80 (or 443 with https).
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@214 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-18 18:01:28 +00:00 |
David Heinemeier Hansson
|
a7532f9d5f
|
Added Request#domain (returns string) and Request#subdomains (returns array).
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@213 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-18 17:19:15 +00:00 |
David Heinemeier Hansson
|
b09829354f
|
Fixed the automated timestamping feature when running under Rails' development environment that resets the inheritable attributes on each request.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@212 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-18 15:15:27 +00:00 |
David Heinemeier Hansson
|
3e6fe858b6
|
Added POST support for the breakpoint retries, so form processing that raises an exception can be retried with the original request [Florian Gross]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@211 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-18 15:01:58 +00:00 |
David Heinemeier Hansson
|
d678997688
|
Base#update_attribute isnt subject to validation
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@210 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-18 11:17:22 +00:00 |
David Heinemeier Hansson
|
3bef4c246a
|
Made Base#update_attributes actually work
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@209 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-18 01:27:57 +00:00 |
David Heinemeier Hansson
|
bb9975fbc7
|
File.expand_path in config/environment.rb would fail when dealing with symlinked public directories [mjobin].
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@208 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-18 00:47:30 +00:00 |
David Heinemeier Hansson
|
604a09462e
|
Added Base#update_attributes that'll accept a hash of attributes and save the record (returning true if it passed validation, false otherwise). Added a return value for Base#update_attribute, so that you get to know whether the save was successful or if it failed validation.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@207 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-17 21:51:14 +00:00 |
David Heinemeier Hansson
|
648b8fda54
|
Added Base.destroy and Base.delete to remove records without holding a reference to them first.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@206 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-17 21:36:13 +00:00 |
David Heinemeier Hansson
|
cf78e736d2
|
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@205 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-17 18:59:12 +00:00 |
David Heinemeier Hansson
|
974ed23034
|
Tagged the 0.9.1 release
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@204 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-17 17:19:05 +00:00 |
David Heinemeier Hansson
|
0f3c6b179c
|
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@203 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-17 00:45:25 +00:00 |
David Heinemeier Hansson
|
60fad97551
|
Upgraded to Action Pack 1.0.1 for important bug fix. Updated gem dependencies.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@202 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-17 00:42:53 +00:00 |
David Heinemeier Hansson
|
f918d40ee6
|
Fixed a bug that would cause an ApplicationController to require itself three times and hence cause filters to be run three times [evl]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@201 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-17 00:25:32 +00:00 |
David Heinemeier Hansson
|
df1c6995f7
|
Cut down on the documentation visible
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@200 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-16 20:56:02 +00:00 |
David Heinemeier Hansson
|
89689ea524
|
Fixed a small bug in the new referencing of DEFAULT_SESSION_OPTIONS
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@199 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-16 20:43:31 +00:00 |
David Heinemeier Hansson
|
4e78b0627c
|
Rails 0.9 is a reality
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@198 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-16 19:54:04 +00:00 |
David Heinemeier Hansson
|
2f3db152ec
|
Made the last tweaks before 0.9
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@197 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-16 19:43:27 +00:00 |
David Heinemeier Hansson
|
b64c26ad9d
|
Updated documentation
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@196 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-16 17:58:29 +00:00 |
David Heinemeier Hansson
|
c927aa0fd2
|
Updated documentation
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@195 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-16 17:53:19 +00:00 |
David Heinemeier Hansson
|
0b554201bb
|
Updated documentation
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@194 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-16 17:45:37 +00:00 |
David Heinemeier Hansson
|
f389a8fb5d
|
Updated and added more documentation
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@193 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-16 17:14:41 +00:00 |
David Heinemeier Hansson
|
d2b75a083a
|
Added Base.validates_inclusion_of
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@192 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-16 17:00:22 +00:00 |
David Heinemeier Hansson
|
f033833fb9
|
Improving documentation...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@191 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-16 16:56:30 +00:00 |
David Heinemeier Hansson
|
6860db61f5
|
Renamed Mixins to Acts to resemble the change from include ActiveRecord::Mixins::List to acts_as_list and renamed @@default_error_messagess to @@default_error_messages
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@190 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-16 16:23:59 +00:00 |
David Heinemeier Hansson
|
12f10f6baf
|
Only requests that require processing from a controller should block the webrick server -- requests for stylesheets, images, and the like should be concurrent
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@189 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-16 16:08:10 +00:00 |