Table of Contents - active_record_schema-0.5.13 Documentation
Pages
- LICENSE
-
README
- ActiveRecordSchema
- Features
- Installation
- Configuration
- Usage
- Has and Belongs To Many (HBTM) associations
- Single Table Inheritance (STI)
- Mixins
- DSL (Domain Specific Language) reference
field(name, *args)
- options
- examples
belongs_to(name, options = {})
- options
has_and_belongs_to_many(name, options = {}, &extension)
index(column_name, options = {})
add_index(column_name, options = {})
timestamps
inheritable
- Generators
rails g migration:from
- Why do not also generate irreversible changes (change/remove columns or indexes)?
- Contributing to active_record_schema
Classes and Modules
- ActiveRecordSchema
- ActiveRecordSchema::Base
- ActiveRecordSchema::Dsl
- ActiveRecordSchema::Dsl::ClassMethods
- ActiveRecordSchema::Field
- ActiveRecordSchema::Index
- ActiveRecordSchema::Join
- ActiveRecordSchema::Railtie
- ActiveRecordSchema::Schema
- ActiveRecordSchema::SchemaDiff
- Migration
- Migration::FromGenerator
Methods
- ::autoload_paths — ActiveRecordSchema
- ::config — ActiveRecordSchema
- ::new — ActiveRecordSchema::Field
- ::new — ActiveRecordSchema::Index
- ::new — ActiveRecordSchema::Join
- ::new — ActiveRecordSchema::Schema
- #_column_names — ActiveRecordSchema::SchemaDiff
- #_connection — ActiveRecordSchema::SchemaDiff
- #_diff_fields_add — ActiveRecordSchema::SchemaDiff
- #_diff_indexes_add — ActiveRecordSchema::SchemaDiff
- #_diff_joins_add — ActiveRecordSchema::SchemaDiff
- #_index_exists? — ActiveRecordSchema::SchemaDiff
- #_table — ActiveRecordSchema::SchemaDiff
- #_table_exists? — ActiveRecordSchema::SchemaDiff
- #_table_names — ActiveRecordSchema::SchemaDiff
- #add_field — ActiveRecordSchema::Schema
- #add_index — ActiveRecordSchema::Schema
- #add_index — ActiveRecordSchema::Dsl::ClassMethods
- #add_join — ActiveRecordSchema::Schema
- #autoload_paths — ActiveRecordSchema
- #belongs_to — ActiveRecordSchema::Dsl::ClassMethods
- #config — ActiveRecordSchema
- #create_migrations — Migration::FromGenerator
- #diff — ActiveRecordSchema::SchemaDiff
- #field — ActiveRecordSchema::Dsl::ClassMethods
- #field_names — ActiveRecordSchema::Schema
- #has_and_belongs_to_many — ActiveRecordSchema::Dsl::ClassMethods
- #hierarchy_field_names — ActiveRecordSchema::Schema
- #hierarchy_fields — ActiveRecordSchema::Schema
- #index — ActiveRecordSchema::Dsl::ClassMethods
- #inheritable — ActiveRecordSchema::Dsl::ClassMethods
- #inherits? — Migration::FromGenerator
- #migration_prefix — Migration::FromGenerator
- #model — Migration::FromGenerator
- #models — Migration::FromGenerator
- #nothing_to_do? — ActiveRecordSchema::SchemaDiff
- #prefixed_table_name — ActiveRecordSchema::SchemaDiff
- #preload_models — Migration::FromGenerator
- #schema — ActiveRecordSchema::Dsl::ClassMethods
- #table_exists? — ActiveRecordSchema::SchemaDiff
- #timestamps — ActiveRecordSchema::Dsl::ClassMethods