aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* More eager fixesDavid Heinemeier Hansson2005-04-032-4/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1084 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made eager loading work even moreDavid Heinemeier Hansson2005-04-0311-50/+76
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1083 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed .id => .object_id in TMailDavid Heinemeier Hansson2005-04-031-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1082 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed javascript_include_tag to output type instead of language and conform ↵David Heinemeier Hansson2005-04-032-4/+6
| | | | | | to XHTML #1018 [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1081 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow order, conditions, and joins in finds that include associationsDavid Heinemeier Hansson2005-04-033-5/+17
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1080 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Only include associations when the relevant rows have contentDavid Heinemeier Hansson2005-04-031-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1079 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added testsDavid Heinemeier Hansson2005-04-031-0/+278
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1078 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added new Base.find API and deprecated find_all, find_first. Added ↵David Heinemeier Hansson2005-04-0316-227/+243
| | | | | | preliminary support for eager loading of associations git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1077 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* use #rescue_action in WS scaffolding so that exceptions in API methods give ↵Leon Breedt2005-04-032-24/+38
| | | | | | | | | a standard Rails error page on failure git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1076 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* remove finished tasksLeon Breedt2005-04-031-2/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1075 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* allow selecting the protocol to use when invoking theLeon Breedt2005-04-035-10/+12
| | | | | | | | scaffolded method. fix bug in walking delegated container services. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1074 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* filter out embedded nil values for XML-RPCLeon Breedt2005-04-021-2/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1073 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* * collapse 'ws' back into protocols, it just added complexity and ↵Leon Breedt2005-04-0250-1511/+1090
| | | | | | | | | | | | | indirection, and was hard to extend. * extract casting into seperate support file * ensure casting always does the right thing for return values, should fix interoperability issues with Ecto and possibly other XML-RPC clients * add functional unit tests for scaffolding * represent signature items with classes instead of symbols/Class objects, much more flexible * tweak logging to always show casted versions of parameters and return values, if possible. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1072 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added NumberHelper for common string representations like phone number, ↵David Heinemeier Hansson2005-04-022-0/+84
| | | | | | currency, and percentage #1015 [DeLynn] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1071 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that benchmarking times for rendering included db runtimes #987 ↵David Heinemeier Hansson2005-04-022-4/+12
| | | | | | [skaes@web.de] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1070 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed broken attempt to DRY module ClassMethod #970David Heinemeier Hansson2005-04-029-1/+41
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1069 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Automatically extend the class which gets a module included with the ↵David Heinemeier Hansson2005-04-028-40/+0
| | | | | | ClassMethods module if it exists #970 [Lucas Carlson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1068 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added pagination for scaffolding (10 items per page) #964 [mortonda@dgrmm.net]David Heinemeier Hansson2005-04-026-3/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1067 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed boolean queries for t/f fields in PostgreSQL #995 [dave@cherryville.org]David Heinemeier Hansson2005-04-022-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1066 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added assert_no_cookie and fixed assert_cookie_equal to deal with ↵David Heinemeier Hansson2005-04-023-3/+24
| | | | | | non-existing cookies #979 [bitsweat] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1065 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that model.items.delete(child) will delete the child, not just set the ↵David Heinemeier Hansson2005-04-024-10/+31
| | | | | | foreign key to nil, if the child is dependent on the model #978 [bitsweat] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1064 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed auto-stamping of dates (created_on/updated_on) for PostgreSQL #985 ↵David Heinemeier Hansson2005-04-022-6/+8
| | | | | | [dave@cherryville.org] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1063 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* decrease reliance on instantiated fixtures #980 [Jeremy Kemper]David Heinemeier Hansson2005-04-021-21/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1062 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed :overwrite_param so it doesn't delete but reject elements from ↵David Heinemeier Hansson2005-04-022-1/+3
| | | | | | @request.parameters #982 [raphinou@yahoo.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1061 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :method option to verify for ensuring that either GET, POST, etc is ↵David Heinemeier Hansson2005-04-023-4/+36
| | | | | | allowed #984 [Jamis Buck] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1060 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed Base.silence/benchmark to only log if a logger has been configured ↵David Heinemeier Hansson2005-04-022-3/+5
| | | | | | #986 [skaes@web.de] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1059 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added a join parameter as the third argument to Base.find_first and as the ↵David Heinemeier Hansson2005-04-022-3/+5
| | | | | | second to Base.count #426, #988 [skaes@web.de] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1058 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed problem with classes being required twice. Object#const_missing now ↵David Heinemeier Hansson2005-04-022-1/+6
| | | | | | uses require_dependency to load files. It used to use require_or_load which would cause models to be loaded twice, which was not good for validations and other class methods #971 [Nicholas Seckar] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1057 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added options to set cc, bcc, subject, and body for UrlHelper#mail_to #966 ↵David Heinemeier Hansson2005-04-023-5/+30
| | | | | | [DeLynn] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1056 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed include_blank for select_hour/minute/second #527 [edward@debian.org]David Heinemeier Hansson2005-04-023-10/+128
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1055 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made sure all MySQL tables are created as InnoDBDavid Heinemeier Hansson2005-04-022-14/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1054 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added install.rbs for all frameworks and made all of them generic enough not ↵David Heinemeier Hansson2005-04-025-157/+82
| | | | | | to require maintenance #1013, #1012 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1053 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improved the message display on the exception handler pages #963 [Johan ↵David Heinemeier Hansson2005-03-315-7/+12
| | | | | | Sorensen] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1048 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added a join parameter as the third argument to Base.find_first #426 ↵David Heinemeier Hansson2005-03-312-2/+4
| | | | | | [skaes@web.de] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1047 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Effect.Puff and Effect.Appear #990, #996David Heinemeier Hansson2005-03-313-2/+141
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1046 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that on very rare occasions, webrick would raise a NoMethodError: ↵David Heinemeier Hansson2005-03-312-5/+6
| | | | | | private method 'split' called for nil #1001 [Flurin Egger] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1045 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* display the amount of time taken to invoke a scaffolding requestLeon Breedt2005-03-312-5/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1044 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* remove ActiveRecordSoapMarshallable, can't reproduce the problem it was ↵Leon Breedt2005-03-312-14/+2
| | | | | | intended to fix. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1043 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed bug in Base#hash method that would treat records with the same ↵David Heinemeier Hansson2005-03-302-1/+3
| | | | | | string-based id as different [Dave Thomas] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1039 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Renamed DateHelper#distance_of_time_in_words_to_now to ↵David Heinemeier Hansson2005-03-302-1/+8
| | | | | | DateHelper#time_ago_in_words (old method name is still available as a deprecated alias) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1038 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* first pass of web service scaffolding. add ability to quickly generate anLeon Breedt2005-03-2919-28/+451
| | | | | | | | action pack request for a protocol, add missing log_error when we fail to parse protocol messages. add RDoc for scaffolding and functional testing. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1037 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dont load the target before the proxy has had a chance to answer the ↵David Heinemeier Hansson2005-03-291-2/+1
| | | | | | respond_to? -- this would cause an .empty? query to trigger loading the entire collection if the proxy had already been initialized git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1036 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* remove wrongheaded uses of "rescue nil" if it will mask a useful exception. ↵Leon Breedt2005-03-293-13/+6
| | | | | | | | | also include the whole backtrace in the 500 error response body if exception reporting is turned on (the default). git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1035 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed references to elementDavid Heinemeier Hansson2005-03-282-18/+18
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1034 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Effect.Scale for smoothly scaling images or text up and down #972 ↵David Heinemeier Hansson2005-03-283-0/+136
| | | | | | [thomas@fesch.at] Added Effect.Squish for scaling down an element and making it disappear at the end #972 [thomas@fesch.at] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1033 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Effect.Fade which smoothly turns opacity from 100 to 0 and then hides ↵David Heinemeier Hansson2005-03-283-0/+62
| | | | | | the element #960 [thomas@fesch.at] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1032 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* don't hide exceptions when we fail to parse XML-RPC messages.Leon Breedt2005-03-282-4/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1031 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* generalize casting code to be used by both SOAP and XML-RPC (previously only ↵Leon Breedt2005-03-2819-249/+432
| | | | | | | | | | XML-RPC). switch to better model for API methods, and improve the ability to generate protocol requests/response, will be required by upcoming scaffolding. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1030 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed problem with page caching #958 [Rick Olson]David Heinemeier Hansson2005-03-272-1/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1029 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed the Rakefile #959David Heinemeier Hansson2005-03-271-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1028 5ecf4fe2-1ee6-0310-87b1-e25e094e27de