Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Make it the responsibility of the connection to hold onto an ARel visitor ↵ | Jon Leighton | 2011-08-08 | 1 | -3/+3 | |
| | | | | for generating SQL. This improves the code architecture generally, and solves some problems with marshalling. Adapter authors please take note: you now need to define an Adapter.visitor_for method, but it degrades gracefully with a deprecation warning for now. | |||||
* | add a migrate class method and delegate to the new instance | Aaron Patterson | 2011-08-02 | 1 | -1/+4 | |
| | ||||||
* | Support backwards compatible interface for migration down/up with rails 3.0.x. | Christopher Meiklejohn | 2011-08-02 | 1 | -0/+1 | |
| | ||||||
* | Explicitly require Active Support dependencies | Norman Clarke | 2011-07-19 | 1 | -0/+2 | |
| | | | | | | | | | | | | This fixes errors when using Active Record outside of Rails. In Rails, these files are required by other classes that are always loaded, so this error does not happen. Without core_ext/module/delegation, a NoMethodError is raised because `delegate` remains undefined. Without core_ext/class/attribute_acessors, an ArgumentError is raised because `delegate` does not receive a value for its :to option. | |||||
* | minor changes | Vijay Dev | 2011-06-27 | 1 | -2/+2 | |
| | ||||||
* | replace find(all) with all | Vijay Dev | 2011-06-26 | 1 | -3/+3 | |
| | ||||||
* | Update remove_index documentation | Lucia Escanellas | 2011-06-17 | 1 | -2/+4 | |
| | | | | | * Changes should better reflect present code behavior * Related to issue: https://github.com/rails/rails/issues/1624 | |||||
* | up and down are no longer class methods in a migration | Vijay Dev | 2011-06-07 | 1 | -1/+1 | |
| | ||||||
* | require core_ext/array/wrap in active_record/migration | Piotr Sarnacki | 2010-12-10 | 1 | -0/+2 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Use Array.wrap instead of using ternary | Piotr Sarnacki | 2010-12-09 | 1 | -2/+2 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Allow to run migrations from more than one directory | Piotr Sarnacki | 2010-12-09 | 1 | -24/+33 | |
| | ||||||
* | in the middle of refactoring | Aaron Patterson | 2010-12-03 | 1 | -0/+4 | |
| | ||||||
* | remove calls to deprecated methods | Aaron Patterson | 2010-12-02 | 1 | -1/+2 | |
| | ||||||
* | avoiding deprecated methods in arel | Aaron Patterson | 2010-12-02 | 1 | -1/+2 | |
| | ||||||
* | rolling out migrated_at until I can fix the build | Aaron Patterson | 2010-12-01 | 1 | -11/+7 | |
| | ||||||
* | name in schema_migrations, migrations in schema dump | Josh Susser | 2010-12-01 | 1 | -0/+1 | |
| | ||||||
* | record migration timestamp when migrations run | Josh Susser | 2010-12-01 | 1 | -7/+10 | |
| | ||||||
* | adding documentation for reversible migrations | Aaron Patterson | 2010-11-19 | 1 | -0/+32 | |
| | ||||||
* | invertable migrations are working | Aaron Patterson | 2010-11-19 | 1 | -1/+19 | |
| | ||||||
* | partial implementation of the command recorder | Aaron Patterson | 2010-11-19 | 1 | -0/+2 | |
| | ||||||
* | this return value is not used, so stop returning it | Aaron Patterson | 2010-11-19 | 1 | -4/+1 | |
| | ||||||
* | instantiate the delegate object after initialize is defined so that our ↵ | Aaron Patterson | 2010-11-19 | 1 | -3/+4 | |
| | | | | initialize method actually gets called | |||||
* | connection is set from the connection pool during migrations | Aaron Patterson | 2010-11-18 | 1 | -4/+10 | |
| | ||||||
* | adding an initialize with name and version defaults | Aaron Patterson | 2010-11-17 | 1 | -4/+5 | |
| | ||||||
* | fixing more documentation | Aaron Patterson | 2010-11-17 | 1 | -3/+3 | |
| | ||||||
* | fixing documentation, removing unused AS files | Aaron Patterson | 2010-11-17 | 1 | -15/+12 | |
| | ||||||
* | fixing indentation since these methods are not class methods | Aaron Patterson | 2010-11-17 | 1 | -83/+83 | |
| | ||||||
* | these methods are no longer needed | Aaron Patterson | 2010-11-17 | 1 | -8/+0 | |
| | ||||||
* | do not need these accessors | Aaron Patterson | 2010-11-17 | 1 | -8/+0 | |
| | ||||||
* | testing instance based migrations | Aaron Patterson | 2010-11-17 | 1 | -0/+2 | |
| | ||||||
* | singleton method added is no longer needed | Aaron Patterson | 2010-11-17 | 1 | -19/+1 | |
| | ||||||
* | schema migrations work as instances | Aaron Patterson | 2010-11-17 | 1 | -4/+7 | |
| | ||||||
* | converted migrations to support instance methods | Aaron Patterson | 2010-11-17 | 1 | -6/+34 | |
| | ||||||
* | Create directory before copying migrations if it does not exist | Piotr Sarnacki | 2010-11-16 | 1 | -0/+2 | |
| | ||||||
* | 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. | |||||
* | 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 | |
| | ||||||
* | Fix copying migrations to empty directory | Piotr Sarnacki | 2010-09-03 | 1 | -1/+1 | |
| | ||||||
* | Implemented ActiveRecord::Migrations#copy based on James Adam's idea | Piotr Sarnacki | 2010-09-03 | 1 | -25/+61 | |
| | | | | | | | | | | | | | | | ActiveRecord::Migration#copy allows to copy migrations from one place to another, changing migrations versions and adding scope to filename. For example: ActiveRecord::Migration.copy("db/migrate", :blog_engine => "vendor/gems/blog/db/migrate") will copy all migrations from vendor/gems/blog/db/migrate to db/migrate with such format: Versions of copied migrations will be reversioned to be appended after migrations that already exists in db/migrate | |||||
* | Added Rails.application.config.paths.db.migrate to remove hardcoded ↵ | Piotr Sarnacki | 2010-09-03 | 1 | -4/+6 | |
| | | | | db/migrate paths | |||||
* | Revert "Setup explicit requires for files with exceptions. Removed them from ↵ | José Valim | 2010-09-02 | 1 | -1/+0 | |
| | | | | | | | | autoloading." Booting a new Rails application does not work after this commit [#5359 state:open] This reverts commit 38a421b34d0b414564e919f67d339fac067a56e6. | |||||
* | Setup explicit requires for files with exceptions. Removed them from ↵ | Łukasz Strzałkowski | 2010-09-02 | 1 | -0/+1 | |
| | | | | | | autoloading. Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 1 | -33/+33 | |
| | | | | 's/[ \t]*$//' -i {} \;) | |||||
* | Removing most of the symbol to proc usage in Active Record | Prem Sichanugrist | 2010-08-13 | 1 | -3/+3 | |
| | | | | This will hopefully make Active Record run a bit more faster. | |||||
* | Fixed many references to the old config/environment.rb and Rails::Initializer | Benjamin Quorning | 2010-07-13 | 1 | -1/+1 | |
| |