aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* only call to_s on the association variable onceAaron Patterson2010-11-051-2/+5
|
* simplify instantiate in the join parts objectAaron Patterson2010-11-051-8/+7
|
* index is not used, so removing itAaron Patterson2010-11-051-1/+1
|
* reduce method calls to the join base objectAaron Patterson2010-11-051-4/+6
|
* Correctly handle the case of an API response that returns a hash by treating ↵Chris Eppstein2010-11-062-1/+17
| | | | a single hash argument as the resource instead of as options.
* stop recursively calling exists?Aaron Patterson2010-11-051-3/+5
|
* Bring back ruby-debug19 for Ruby versions < 1.9.3Santiago Pastorino2010-11-051-0/+5
|
* Avoid warning: shadowing outer local variableSantiago Pastorino2010-11-051-2/+2
|
* Fixes queries using limits and punctuation in order, removes order("col1, ↵Santiago Pastorino2010-11-055-8/+29
| | | | | | col2") usage in favor of order(["col1", "col2"}) [#4597 state:committed]
* renaming exec in the mysql adapterAaron Patterson2010-11-052-15/+15
|
* renaming exec in the PG adapterAaron Patterson2010-11-053-14/+14
|
* converted exec to exec_query for sqliteAaron Patterson2010-11-054-27/+27
|
* Association Proxy should not undefine the default respond_to_missingsblackstone2010-11-041-1/+1
|
* Update to latest thor.José Valim2010-11-041-1/+1
|
* ignoring certain SQL when using OracleAaron Patterson2010-11-031-0/+4
|
* select goes through exec(), so no method chaining for query countsAaron Patterson2010-11-031-12/+0
|
* use bind params in select with query monkeypatchAaron Patterson2010-11-031-2/+2
|
* Just initialize options with an empty hashSantiago Pastorino2010-11-031-2/+1
|
* add more tests surrounding camlize in xmlmini, refactor rename_key()Aaron Patterson2010-11-032-6/+14
|
* Allowing to_xml :camelize option to be set to :lower to enable ↵Jeremy Holland2010-11-034-4/+24
| | | | lower-camelcase tags [#5903 state:resolved]
* made a pass to the docs of :negative_formatXavier Noria2010-11-031-5/+7
|
* Added :negative_format option to number_to_currency function [#5894 ↵Don Wilson2010-11-023-8/+24
| | | | | | state:resolved] Signed-off-by: Andrew White <andyw@pixeltrix.co.uk>
* Test that capture doesn't escape twiceSantiago Pastorino2010-11-021-2/+7
|
* Call as ERB::Util.html_escape since is not the module is not included hereSantiago Pastorino2010-11-021-1/+1
|
* Make sure capture's output gets html_escaped [#5545 state:resolved]Jeff Kreeftmeijer2010-11-023-7/+8
| | | | | | | Also remove a duplicate test_link_to_unless assertion and add .html_safe to the remaining one. Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Add additional HTTP request methods from the following RFCs:Andrew White2010-11-023-4/+53
| | | | | | | | | | | | | | | | | | | | | | | | | * Hypertext Transfer Protocol -- HTTP/1.1 http://www.ietf.org/rfc/rfc2616.txt) * HTTP Extensions for Distributed Authoring -- WEBDAV http://www.ietf.org/rfc/rfc2518.txt * Versioning Extensions to WebDAV http://www.ietf.org/rfc/rfc3253.txt * Ordered Collections Protocol (WebDAV) http://www.ietf.org/rfc/rfc3648.txt * Web Distributed Authoring and Versioning (WebDAV) Access Control Protocol http://www.ietf.org/rfc/rfc3744.txt * Web Distributed Authoring and Versioning (WebDAV) SEARCH http://www.ietf.org/rfc/rfc5323.txt * PATCH Method for HTTP http://www.ietf.org/rfc/rfc5789.txt [#2809 state:resolved] [#5895 state:resolved]
* Make should_record_timestamps? serialization aware rather than object#changed?Pratik Naik2010-11-022-5/+1
|
* Ensure save always updates timestamps when serialized attributes are presentPratik Naik2010-11-022-0/+18
|
* Add timestamps to TopicPratik Naik2010-11-023-6/+7
|
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2010-10-304-5/+7
|\
| * reverting last change to javascript helper; needs more investigationAditya Sanghi2010-10-291-1/+1
| |
| * fixed javascript helper doc to close issue #10 raised by jialinAditya Sanghi2010-10-291-1/+1
| |
| * Changed environment.rb to application.rbUgis Ozols2010-10-251-1/+1
| |
| * Reworded sentence using text from rails source code.Ugis Ozols2010-10-251-1/+1
| |
| * Changed environment.rb to application.rbUgis Ozols2010-10-251-3/+3
| |
| * added tip about ruby-debug needing a different gem if using 1.9 [#190 ↵Rob Zolkos2010-10-241-0/+2
| | | | | | | | state:resolved]
* | only returning where values for the corresponding relation, also filtering ↵Aaron Patterson2010-10-302-6/+12
| | | | | | | | where value hash based on table name [#5234 state:resolved] [#5184 state:resolved]
* | adding tests for #5234 and #5184. Tests were from Akira Matsuda. Thanks Akira!Aaron Patterson2010-10-302-0/+11
| |
* | no need to merge where values if no new where values have been addedAaron Patterson2010-10-301-11/+13
| |
* | ruby-debug19 does not work with 1.9.3, so I am removing itAaron Patterson2010-10-301-4/+0
| |
* | Convert :primary_key in association to a string before comparing to column ↵Denis Odorcic2010-10-303-1/+9
| | | | | | | | names, so that for example :primary_key => :another_pk works as well [#5605 state:resolved]
* | refactoring find_join_associationAaron Patterson2010-10-301-5/+6
| |
* | Fix issues when including the same association multiple times and mixing ↵Ernie Miller2010-10-302-11/+63
| | | | | | | | joins/includes together.
* | Refactoring: replace the mix of variables like @finder_sql, @counter_sql, ↵Jon Leighton2010-10-3011-159/+146
| | | | | | | | etc with just a single scope hash (created on initialization of the proxy). This is now used consistently across all associations. Therefore, all you have to do to ensure finding/counting etc is done correctly is implement the scope correctly.
* | only do string substitution on column names once, remove intermediate data ↵Aaron Patterson2010-10-301-7/+6
| | | | | | | | structures
* | columns are always stringsAaron Patterson2010-10-301-1/+1
| |
* | no need to to_i, sqlite does that for usAaron Patterson2010-10-301-2/+2
| |
* | Added missing AS require to active_model/naming.rbsnusnu2010-10-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We saw a failing spec when running the DataMapper ActiveModel compliance specs for dm-active_model. ActiveModel::Naming#model_name relies on the Module#parents method defined in active_support/core_ext/module/introspection.rb Adding the appropriate require statement of course fixed our specs.
* | select_all() should always return an array, so no need to testAaron Patterson2010-10-271-9/+1
| |
* | fisting test nameAaron Patterson2010-10-271-1/+1
| |