Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | stop using deprecated arel API | Aaron Patterson | 2010-10-12 | 1 | -2/+2 | |
| | | ||||||
* | | dry up column type testing | Aaron Patterson | 2010-10-12 | 1 | -5/+5 | |
| | | ||||||
* | | all columns respond to string_to_binary, so no need to check respond_to? | Aaron Patterson | 2010-10-12 | 2 | -2/+11 | |
| | | ||||||
* | | drying up true and false cases | Aaron Patterson | 2010-10-12 | 1 | -3/+7 | |
| | | ||||||
* | | reducing comparisons in when statements | Aaron Patterson | 2010-10-12 | 1 | -6/+6 | |
| | | ||||||
* | | removing intermediate variables | Aaron Patterson | 2010-10-12 | 1 | -2/+1 | |
| | | ||||||
* | | reduce the number of times we test for the column variable | Aaron Patterson | 2010-10-12 | 1 | -2/+5 | |
| | | ||||||
* | | refactoring date / time / datetime when statement | Aaron Patterson | 2010-10-12 | 1 | -11/+8 | |
| | | ||||||
* | | fixing case / when indentation | Aaron Patterson | 2010-10-12 | 1 | -20/+20 | |
| | | ||||||
* | | we should always cast the value based on the column | Aaron Patterson | 2010-10-11 | 1 | -1/+1 | |
| | | ||||||
* | | removing freeze | Aaron Patterson | 2010-10-11 | 1 | -3/+3 | |
| | | ||||||
* | | Honor distinct option when used with count operation after group clause ↵ | Marcelo Giorgi | 2010-10-11 | 1 | -4/+8 | |
| | | | | | | | | [#5721 state:resolved] | |||||
* | | reorder removed in favor of except(:order).order | Santiago Pastorino | 2010-10-11 | 3 | -21/+3 | |
|/ | ||||||
* | Updated DOCS for engines and added a couple TODOs. Also, commented internal ↵ | José Valim | 2010-10-11 | 1 | -1/+1 | |
| | | | | railties rake tasks description. | |||||
* | Always pull in version for frameworks (standardize autoload / require / none) | wycats | 2010-10-10 | 1 | -2/+2 | |
| | ||||||
* | Rename rake railties:copy_migrations to rake railties:install:migrations and ↵ | Piotr Sarnacki | 2010-10-09 | 1 | -23/+25 | |
| | | | | fix it to work with new copying strategy | |||||
* | Add callback on skipped migration while copying migrations | Piotr Sarnacki | 2010-10-09 | 1 | -7/+20 | |
| | ||||||
* | Change the method for copying migrations, do not add scope. | Piotr Sarnacki | 2010-10-09 | 1 | -9/+9 | |
| | | | | | | | The purpose of this change is to allow copying fail on the same names. Migrations change database and they should be treated with caution, if 2 migrations are named the same it's much better to skip migration and allow user decide if it should be copied or not. | |||||
* | removing false comment | Aaron Patterson | 2010-10-07 | 1 | -2/+0 | |
| | ||||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2010-10-06 | 1 | -1/+1 | |
|\ | ||||||
| * | Fix serialization :include option name | Evgeniy Dolzhenko | 2010-10-01 | 1 | -1/+1 | |
| | | ||||||
* | | fix ruby 1.9 deadlock problem, fixes #5736 add connection pool tests | Hemant Kumar | 2010-10-06 | 1 | -8/+6 | |
| | | ||||||
* | | Provide a cleaner syntax for paths configuration that does not rely on ↵ | José Valim | 2010-10-06 | 1 | -3/+3 | |
| | | | | | | | | method_missing. | |||||
* | | create fewer objects, call fewer methods in extract_pg_identifier_from_name | Aaron Patterson | 2010-10-04 | 1 | -3/+3 | |
| | | ||||||
* | | * + flatten is not required in >= Ruby 1.8.7 | Aaron Patterson | 2010-10-04 | 1 | -1/+1 | |
| | | ||||||
* | | converting inject([]) to map | Aaron Patterson | 2010-10-03 | 1 | -4/+3 | |
| | | ||||||
* | | speed up duplicate migration detection | Aaron Patterson | 2010-10-03 | 1 | -6/+5 | |
| | | ||||||
* | | reduce the number of calls to camelize | Aaron Patterson | 2010-10-03 | 1 | -3/+4 | |
| | | ||||||
* | | convertion MigrationProxy to a Struct, initialize instance variables | Aaron Patterson | 2010-10-03 | 1 | -7/+6 | |
| | | ||||||
* | | dry up some migration logic | Aaron Patterson | 2010-10-03 | 1 | -2/+4 | |
| | | ||||||
* | | no need to differentiate between nil and false in this case | Aaron Patterson | 2010-10-03 | 1 | -2/+2 | |
| | | ||||||
* | | lengths will be nil or an array | Aaron Patterson | 2010-10-03 | 1 | -2/+2 | |
| | | ||||||
* | | remove a few function calls | Aaron Patterson | 2010-10-03 | 1 | -3/+5 | |
| | | ||||||
* | | be kind to the garbage collector and reuse our visitor object | Aaron Patterson | 2010-10-03 | 1 | -1/+4 | |
| | | ||||||
* | | avoid creating objects when we can | Aaron Patterson | 2010-10-03 | 3 | -14/+7 | |
| | | ||||||
* | | Rely on Rack::Session stores API for more compatibility across the Ruby world. | José Valim | 2010-10-03 | 1 | -2/+5 | |
| | | ||||||
* | | Refactor AssociationCollection#include? with objects in memory | Carlos Antonio da Silva | 2010-10-02 | 1 | -4/+3 | |
| | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | | Arel::Sql::Engine.new does not do anything anymore | Aaron Patterson | 2010-09-30 | 2 | -2/+2 | |
| | | ||||||
* | | type_name should check for blank because people may have messed up databases | Aaron Patterson | 2010-09-30 | 1 | -1/+1 | |
| | | ||||||
* | | build_where should be private | Aaron Patterson | 2010-09-30 | 1 | -2/+2 | |
| | | ||||||
* | | type_name is never a blank string, so use faster .nil? call | Aaron Patterson | 2010-09-30 | 1 | -1/+1 | |
| | | ||||||
* | | AssociationCollection#include? working properly for objects added with build ↵ | Marcelo Giorgi | 2010-09-30 | 1 | -0/+13 | |
| | | | | | | | | method [#3472 state:resolved] | |||||
* | | speeding up object instantiation by eliminating instance_eval | Aaron Patterson | 2010-09-30 | 1 | -7/+21 | |
| | | ||||||
* | | [#5441 state:resolved] refactoring code to determine aggregate column | Aaron Patterson | 2010-09-30 | 1 | -11/+14 | |
| | | ||||||
* | | Fix 'rake db:create' is ignore encoding when using postgres [#5717 ↵ | yalab | 2010-09-30 | 1 | -1/+1 | |
| | | | | | | | | | | | | state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | | Added config.app_generators to allow configuring application's generators ↵ | Piotr Sarnacki | 2010-09-30 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from railties. With config.generators becomes a way to configure generators for current instance only. For example: module Blog class Engine < Rails::Engine config.generators do |g| g.orm :active_record end config.app_generators do |g| g.test_framework :rspec end end end such definition sets :active_record as orm for engine and :rspec as test_framework for application. The values set with app_generators can be overwritten in application using config.generators as you would normally do: module MyApp class Application < Rails::Application config.generators do |g| g.test_framework :test_unit end end end | |||||
* | | double negative is not good | Neeraj Singh | 2010-09-30 | 1 | -1/+1 | |
| | | ||||||
* | | no need of nil check | Neeraj Singh | 2010-09-29 | 1 | -1/+1 | |
|/ | ||||||
* | eliminating method_missing on TableDefinition | Aaron Patterson | 2010-09-29 | 1 | -14/+6 | |
| | ||||||
* | DRY up postgresql quote logic | Aaron Patterson | 2010-09-29 | 1 | -11/+14 | |
| |