- 22 1月, 2015 21 次提交
-
-
由 Rafael Mendonça França 提交于
Disable builds AR-JDBC against master
-
由 Abdelkader Boudih 提交于
fix regexp for validate an integer in guides [ci skip]
-
由 Rafael Mendonça França 提交于
Remove config.assets
-
由 Rafael Mendonça França 提交于
A shortcut to setup controller environment
-
由 yuuji.yaginuma 提交于
-
由 Peter Suschlik 提交于
Currently, bundling `activerecord-jdbc-adapter`'s master branch seems to be broken. See jruby/activerecord-jdbc-adapter#614 This commit partially reverts #12107
-
由 Yves Senn 提交于
use two spaces instead of one for include root in json
-
由 Arthur Nogueira Neves 提交于
Add :formats to options list of render documentation.
-
由 Diogo Benicá 提交于
-
由 Joshua Peek 提交于
Provided by sprockets-rails plugin
-
由 Ben A Morgan 提交于
-
由 brainopia 提交于
-
由 brainopia 提交于
-
由 brainopia 提交于
Render arbitrary templates outside of controller actions
-
由 brainopia 提交于
To have an easier way to setup a controller instance with custom environment
-
由 brainopia 提交于
-
由 brainopia 提交于
Add `ActionController::Metal#set_request!` to set a request on controller instance without calling dispatch.
-
由 Sean Griffin 提交于
Keeping with our behavior elsewhere in the system, invalid input is assumed to be `nil`. Fixes #18629.
-
由 Rafael Mendonça França 提交于
Add ActiveModel::Errors#codes
-
由 Rafael Mendonça França 提交于
Replace `if exists` with `table_exists?` and drop table with `drop_table`
-
由 Yasuo Honda 提交于
since 'drop table if exists' statement does not always work with some databases such as Oracle. also Oracle drop table statement will not drop sequence objects.
-
- 21 1月, 2015 18 次提交
-
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
Travis: Test on jruby-head only for now
-
由 Peter Suschlik 提交于
Arel head does not support 1.9 anymore.
-
由 Carlos Antonio da Silva 提交于
Add missing AS core extension dependency
-
由 Carlos Antonio da Silva 提交于
Add missing options to Error Message Interpolation guide [CI skip]
-
由 Wojciech Wnętrzak 提交于
-
由 Xavier Noria 提交于
Change 'a' to 'an' for 'attribute' word [ci skip]
-
由 Santosh Wadghule 提交于
-
由 Wojciech Wnętrzak 提交于
-
由 Sean Griffin 提交于
This method can be used to see all of the fields on a model which have been read. This can be useful during development mode to quickly find out which fields need to be selected. For performance critical pages, if you are not using all of the fields of a database, an easy performance win is only selecting the fields which you need. By calling this method at the end of a controller action, it's easy to determine which fields need to be selected. While writing this, I also noticed a place for an easy performance win internally which I had been wanting to introduce. You cannot mutate a field which you have not read. Therefore, we can skip the calculation of in place changes if we have never read from the field. This can significantly speed up methods like `#changed?` if any of the fields have an expensive mutable type (like `serialize`) ``` Calculating ------------------------------------- #changed? with serialized column (before) 391.000 i/100ms #changed? with serialized column (after) 1.514k i/100ms ------------------------------------------------- #changed? with serialized column (before) 4.243k (± 3.7%) i/s - 21.505k #changed? with serialized column (after) 16.789k (± 3.2%) i/s - 84.784k ```
-
由 Wojciech Wnętrzak 提交于
To be able to return type of validator, one can now call `details` on Errors instance: ```ruby class User < ActiveRecord::Base validates :name, presence: true end ``` ```ruby user = User.new; user.valid?; user.errors.details => {name: [{error: :blank}]} ```
-
由 Rafael Mendonça França 提交于
SanitizeHelper documentation formatting fixes + rewrite
-
由 T.J. Schuck 提交于
[ci skip]
-
由 T.J. Schuck 提交于
-
由 T.J. Schuck 提交于
-
由 Rafael Mendonça França 提交于
TransactionManager should call rollback records
-
由 Arthur Neves 提交于
-
由 Jeremy Kemper 提交于
Support after_commit callbacks in transactional fixtures
-
- 20 1月, 2015 1 次提交
-
-
由 Yves Senn 提交于
-