- 15 1月, 2014 15 次提交
-
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
* master: "string" isn't a valid column type for ActiveRecord
-
由 Aaron Patterson 提交于
Conflicts: activerecord/test/cases/adapters/sqlite3/sqlite3_adapter_test.rb
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
we can't make bind values for arrays yet
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
* master: don't establish a new connection when testing with `sqlite3_mem`. sqlite >= 3.8.0 supports partial indexes Don't try to get the subclass if the inheritance column doesn't exist Enum mappings are now exposed via class methods instead of constants. Fix fields_for documentation with index option [ci skip] quick pass through Active Record CHANGELOG. [ci skip] [ci skip] Grammar correction single quotes for controller generated routes [ci skip] Added alias to CSRF Set NameError#name
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Yves Senn 提交于
This fixes broken `rake test_sqlite3_mem` suite for Active Record. The problem is that that the old database with the schema is lost when establishing a new connection. Upon reconnting we are left with a blank database and tests down the line start failing.
-
- 14 1月, 2014 25 次提交
-
-
由 Yves Senn 提交于
sqlite >= 3.8.0 supports partial indexes
-
由 Cody Cutrer 提交于
-
由 Andrew White 提交于
Active Record's subclass_from_attributes shouldn't assume :type is for STI unless there is a type column.
-
由 Ujjwal Thaakar 提交于
The `subclass_from_attrs` method is called even if the column specified by the `inheritance_column` setting doesn't exist. This prevents setting associations via the attributes hash if the association name clashes with the value of the setting, typically `:type`. This worked previously in Rails 3.2.
-
由 Godfrey Chan 提交于
Example: class Conversation < ActiveRecord::Base enum status: [ :active, :archived ] end Before: Conversation::STATUS # => { "active" => 0, "archived" => 1 } After: Conversation.statuses # => { "active" => 0, "archived" => 1 }
-
由 Carlos Antonio da Silva 提交于
Single quotes for controller generated routes. This is more consistent with all other Rails generated code.
-
由 Yves Senn 提交于
Fix fields_for documentation with index option [ci skip]
-
由 Prathamesh Sonpatki 提交于
- fields_for documentation with index option was wrong. - It does not work with passing model as it is. - Changed the example by passing id of the address object. - Fixes #13125.
-
由 Yves Senn 提交于
[ci skip] Grammar correction
-
由 Yves Senn 提交于
-
由 Akshay Vishnoi 提交于
-
由 Yves Senn 提交于
Set NameError#name
-
由 Damien Mathieu 提交于
[ci skip] Added alias to CSRF
-
由 Cristian Mircea Messel 提交于
Write routes in route.rb with single quotes get 'welcome/index' instead of get "welcome/index"
-
由 Uday Kadaboina 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
* master: (24 commits) unscope should remove bind values associated with the where reverse_order_value= is not private, so no need to send avoid more dynamic symbols no need to to_sym recover from test runs that leave the database in a bad state updates screenshot data [ci skip] "serie" => "series" revises a few things in the getting started guide [ci skip] Favor canonical environment variables for secrets removed extra comma [ci skip] Only lookup `config.log_level` for stdlib `::Logger`. Closes #11665. Updated Changelog to reflect removal of :dependent => :restrict standardize on jruby_skip & rbx_skip fix bug in becomes! when changing from base to subclass. Closes #13272. highlight http://localhost:3000 in README.md. Closes #13643. [ci skip] doc proc/lambda arg on inclusion validation. Closes #13689. [ci skip] Skip Spring App Generator tests on JRuby fixes a typo in a CHANGELOG upgrade SDoc fixes the Gemfile generator templates ... Conflicts: activerecord/test/cases/hot_compatibility_test.rb
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
It's not public API, but is not private scoped.
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-