- 02 2月, 2016 2 次提交
- 01 2月, 2016 35 次提交
-
-
由 Rafael França 提交于
Fix documentation related to `config.assets.cache_store` [ci skip]
-
由 Prathamesh Sonpatki 提交于
- sprockets-rails no longer supports customizing cache store after rails/sprockets-rails@ecaeb27 using `config.assets.cache_store`. - Instead we need to configure it using block syntax. - Fixes #19835.
-
由 Akira Matsuda 提交于
-
由 Rafael França 提交于
Added references option to join tables
-
由 Rafael França 提交于
Avoid extra `show variables` in migration
-
由 Ernst Rullmann 提交于
Fixes issue #22960 When creating join tables with the command rails g migration CreateJoinTableShowroomUser showroom:references user:references The migration will use references to create the joins and output: class CreateJoinTableShowroomUser < ActiveRecord::Migration def change create_join_table :showrooms, :users do |t| t.references :showroom, index: true, foreign_key: true t.references :user, index: true, foreign_key: true end end end This allows for proper refrences with indexes and foreign keys to be easily used when adding join tables. Without `:refrences` the normal output is generated: class CreateJoinTableShowroomUser < ActiveRecord::Migration[5.0] def change create_join_table :showrooms, :users do |t| # t.index [:showroom_id, :user_id] # t.index [:user_id, :showroom_id] end end end
-
由 Ryuta Kamizono 提交于
`initialize_schema_migrations_table` is called in every migrations. https://github.com/rails/rails/blob/v5.0.0.beta1/activerecord/lib/active_record/migration.rb#L1080 https://github.com/rails/rails/blob/v5.0.0.beta1/activerecord/lib/active_record/schema.rb#L51 This means that extra `show variables` is called regardless of the existence of `schema_migrations` table. This change is to avoid extra `show variables` if `schema_migrations` table exists.
-
由 Rafael França 提交于
Make to primary key instead of an unique index for internal tables
-
由 Matthew Draper 提交于
None of the other components use them, so we should be consistent.
-
由 Rafael França 提交于
Remove duplicated composite primary key tests
-
由 Rafael França 提交于
Extract `ExplainPrettyPrinter` to appropriate files
-
由 Rafael Mendonça França 提交于
This reverts commit 96355e87, reversing changes made to a00c36fe. See https://github.com/rails/rails/pull/23366#issuecomment-177714429
-
由 Ryuta Kamizono 提交于
-
由 Ryuta Kamizono 提交于
-
由 Rafael França 提交于
Use `t.index` in `create_table` instead of `add_index` in test schema
-
由 Rafael França 提交于
Added test for backward compatibility of null constraints on timestamp columns
-
由 Akira Matsuda 提交于
-
由 Rafael França 提交于
`OID::Money.precision` is unused since #15239
-
由 Rafael França 提交于
Update Gemfile.lock
-
由 Arthur Nogueira Neves 提交于
Remove `case macro` from `calculate_constructable`
-
由 yui-knk 提交于
Rails has abstract Reflection classes (`MacroReflection`, `AssociationReflection` etc.) and concrete Reflection classes (e.g. `HasManyReflection`, `HasOneReflection` etc.). In many case `calculate_constructable` returns `true`, so change `calculate_constructable` to always return `true` and override this method if necessary.
-
由 Kasper Timm Hansen 提交于
clarify the touch true option does not trigger after_save/update [ci skip]
-
由 Guillermo Iguaran 提交于
Move Action Cable back to the main build
-
由 Tony Miller 提交于
I've gotten tripped up more than a few times on this, thinking that using `belongs_to` with `touch: true` would trigger my after_save or after_update callbacks. The same text is in the documentation for the touch method itself, but I think its helpful to repeat it again here. It might save people some time.
-
由 Jon Moss 提交于
-
由 Vipul A M 提交于
Update middleware docs regarding ActionDispatch::LoadInterlock [ci skip]
-
由 Bart de Water 提交于
-
由 Kasper Timm Hansen 提交于
make rake proxy work in rails engines
-
由 Kasper Timm Hansen 提交于
Each concrete classes have responsibility to return `association_class`
-
由 Matthew Draper 提交于
-
由 Matthew Draper 提交于
-
由 Matthew Draper 提交于
Action Cable Assets Compilation redux
-
由 Santiago Pastorino 提交于
remove backward compatibility code for Minitest 4
-
由 Matthew Draper 提交于
-
- 31 1月, 2016 3 次提交
-
-
由 yui-knk 提交于
-
由 Prathamesh Sonpatki 提交于
-
由 Vipul A M 提交于
Remove odd ` [ci skip]
-