aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* create_dummy_app method that allows to easily create dummy application from ↵Piotr Sarnacki2010-11-026-42/+51
| | | | template
* Properly skip test unit in 'plugin new' generatorPiotr Sarnacki2010-11-026-26/+22
|
* Properly handle other databases in 'plugin new' generatorPiotr Sarnacki2010-11-027-27/+51
|
* Skip active record properly in 'plugin new' generatorPiotr Sarnacki2010-11-022-1/+2
|
* Use rails integration tests by default in 'plugin new' generatorPiotr Sarnacki2010-11-027-21/+8
|
* We don't need to configure ActionMailer in plugin's test helper, it's ↵Piotr Sarnacki2010-11-021-4/+0
| | | | configured by dummy app
* Refactor app and plugin generators to use new Thor APIPiotr Sarnacki2010-11-022-20/+4
|
* Make deep copy of application generators on engine initialization.Piotr Sarnacki2010-11-023-1/+12
| | | | | Otherwise nested hashes will be same objects for both application and engine, which will result in overwriting each others values on changes.
* Added Hash#deep_dup function which performs deep duplication on given hashPiotr Sarnacki2010-11-023-0/+27
|
* Use application's generators defaults as engine defaults to not force users ↵Piotr Sarnacki2010-11-023-1/+19
| | | | to manually set it
* Do not create additional newlinePiotr Sarnacki2010-11-021-1/+1
|
* Don't be verbose while creating dummy application in plugin new generatorPiotr Sarnacki2010-11-023-3/+19
|
* No need to require 'app_base', it's required in app_generatorPiotr Sarnacki2010-11-021-1/+0
|
* Pass more options to test/dummy in 'plugin new' generatorPiotr Sarnacki2010-11-024-16/+29
|
* Add --full option to 'plugin new' generator, which generates rails enginePiotr Sarnacki2010-11-0214-9/+108
|
* No need for say_step in 'plugin new' generatorPiotr Sarnacki2010-11-023-22/+4
|
* DRY up app generator and plugin new generator. Moved shared options to ↵Piotr Sarnacki2010-11-023-52/+31
| | | | AppBase generator
* Remove integration tests and ActionModel/ActiveRecord calls from 'rake ↵Piotr Sarnacki2010-11-028-43/+7
| | | | plugin new' generator, it shouldn't be available as default option
* We don't need gem tasks, we have a gemspecPiotr Sarnacki2010-11-021-17/+0
|
* Builder should not be responsible for running store_application_definition ↵Piotr Sarnacki2010-11-021-1/+1
| | | | method
* Make tests for app and plugin generators more DRYPiotr Sarnacki2010-11-029-288/+220
|
* Allow easy overriding of test framework in 'rake plugin new' generator, ↵Piotr Sarnacki2010-11-025-16/+55
| | | | using PluginBuilder
* Ensure that tests run properlyPiotr Sarnacki2010-11-021-0/+7
|
* Change // style regexp to %r{}, to not confuse editors code highlightingPiotr Sarnacki2010-11-021-1/+1
|
* Add --dev and --edge options to rails plugin newPiotr Sarnacki2010-11-026-25/+61
|
* Added USAGE for rails plugin newPiotr Sarnacki2010-11-021-0/+10
|
* That method is already declared at AppBasePiotr Sarnacki2010-11-021-23/+0
|
* Add support for templates for rails plugin newPiotr Sarnacki2010-11-024-15/+50
|
* Ensure that options for plugin new generator are not passed to application ↵Piotr Sarnacki2010-11-022-1/+7
| | | | generator
* Refactored AppGenerator and PluginNewGenerator to inherit from AppBase.Piotr Sarnacki2010-11-023-57/+79
|
* Added 'rails plugin new' generator which generates gem plugin skeleton.Piotr Sarnacki2010-11-0221-1/+607
| | | | | | This command is based on enginex gem by José Valim. It generates gem structure and ads dummy application into test/dummy. This can be used to start developing any kind of extension for rails 3.
* 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.