- 12 12月, 2013 1 次提交
-
-
由 Rafael Mendonça França 提交于
This is to get activerecord-deprecated_finders work again
-
- 11 12月, 2013 19 次提交
-
-
由 Rafael Mendonça França 提交于
This will call primary_key two times This reverts commit d0588a2e, reversing changes made to 87e1e866.
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
It is needed for activerecord-depecated_finders This reverts commit dcff027a, reversing changes made to 3a209398.
-
由 Rafael Mendonça França 提交于
It is need in activerecord-deprecated_finders
-
由 Rafael Mendonça França 提交于
removing multiple check conditions to single check condition
-
由 Aayush khandelwal 提交于
-
由 Guillermo Iguaran 提交于
Remove require 'models/administrator', Administrator is not used in secure password test
-
由 robertomiranda 提交于
-
由 Damien Mathieu 提交于
typo rectified
-
由 Aayush khandelwal 提交于
-
由 Aaron Patterson 提交于
Using parallelize_me! to parallelize isolated test
-
由 Arun Agrawal 提交于
As ParallelEach is no more available related commit ec00442c
-
由 Piotr Sarnacki 提交于
Fix mounting engines inside a resources block
-
由 Piotr Sarnacki 提交于
When a route is mounted inside a resources block, it's automatically prefixed, so a following code: resources :users do mount Blog::Engine => '/blog' end will generate a user_blog path helper. In order to access engine helpers, we also use "mounted_helpers", a list of helpers associated with each mounted engine, so a path to blog's post can be generated using user_blog.post_path(user, post). The problem I'm fixing here is that mount used a raw :as option, without taking nestings into account. As a result, blog was added to a route set as a `user_blog`, but helper was generated for just `blog`. This commit applies the proper logic for defining a helper for a mounted engine nested in resources or resource block. (closes #8533)
-
由 Santiago Pastorino 提交于
This reverts commit bd360ad3. Reverting this for now until we fix the Thor related issue
-
由 Damien Mathieu 提交于
Fix typo in docs, missing colon in Symbol literal
-
由 Semyon Perepelitsa 提交于
-
由 José Valim 提交于
Replace with gsub! in ActiveSupport::Inflector
-
由 Elben Shira 提交于
-
- 10 12月, 2013 13 次提交
-
-
由 Santiago Pastorino 提交于
-
由 David Heinemeier Hansson 提交于
Variants inline syntax v2
-
由 Yves Senn 提交于
There are circumstances where the capabilities of `assert_deprecated` and `assert_not_deprecated` are not enough. For example if a ccertain call-path raises two deprecations but should only raise a single one. This module is still :nodoc and intented for internal use. /cc @rafaelfranca
-
由 Yves Senn 提交于
Fix type cast on group sum with custom expression
-
由 Paul Nikitochkin 提交于
For PG adapters with custom expression and grouped result of aggregate functions have not found correct column type for it. Extract column type from query result. Closes: #13230
-
由 Łukasz Strzałkowski 提交于
In most cases, when setting variant specific code, you're not sharing any code within format. Inline syntax can vastly simplify defining variants in those situations: respond_to do |format| format.js { render "trash" } format.html do |variant| variant.phone { redirect_to progress_path } variant.none { render "trash" } end end Becomes: respond_to do |format| format.js { render "trash" } format.html.phone { redirect_to progress_path } format.html.none { render "trash" } end
-
由 Łukasz Strzałkowski 提交于
@responses hash needs to be initialized with mime types that we get from Collector#collect_mimes_from_class_level. Mime::Type class as key and nil as value. This need to happen before content negotiation. Before that, it was looping though mime types and executing mime-type-generated method inside collector (see AbstractController::Collector#generate_method_for_mime). That approach resulted in 2 unnecessary method calls for each mime type collected by Collector#collect_mimes_from_class_level. Now hash is initialized in place, without usage of Collector#custom method.
-
由 Yves Senn 提交于
Closes #13245. [ci skip]
-
由 Carlos Antonio da Silva 提交于
-
由 Jeremy Kemper 提交于
Support MySQL 5.7 explain
-
由 Jeremy Kemper 提交于
From http://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-3.html: "Columns in a PRIMARY KEY must be NOT NULL, but if declared explicitly as NULL produced no error. Now an error occurs."
-
由 Yasuo Honda 提交于
Since MySQL 5.7.3 m13 does now allow primary key column is null.
-
由 Yasuo Honda 提交于
-
- 09 12月, 2013 4 次提交
-
-
由 David Heinemeier Hansson 提交于
This reverts commit 18616114, reversing changes made to cad9eb17.
-
由 David Heinemeier Hansson 提交于
Inline syntax for variants
-
由 Łukasz Strzałkowski 提交于
In most cases, when setting variant specific code, you're not sharing any code within format. Inline syntax can vastly simplify defining variants in those sitiations: respond_to do |format| format.js { render "trash" } format.html do |variant| variant.phone { redirect_to progress_path } variant.none { render "trash" } end end ` Becomes: respond_to do |format| format.js { render "trash" } format.html.phone { redirect_to progress_path } format.html.none { render "trash" } end
-
由 Łukasz Strzałkowski 提交于
@responses hash needs to be initialized with mime types that we get from Collector#collect_mimes_from_class_level. Mime::Type class as key and nil as value. This need to happen before content negotiation. Before that, it was looping though mime types and executing mime-type-generated method inside collector (see AbstractController::Collector#generate_method_for_mime). That approach resulted in 2 unnecessary method calls for each mime type collected by Collector#collect_mimes_from_class_level. Now hash is initialized in place, without usage of Collector#custom method.
-
- 08 12月, 2013 3 次提交
-
-
由 Guillermo Iguaran 提交于
Upgrade minitest version
-
由 Godfrey Chan 提交于
We made a change in #13213 that depends on a new file that's only in minitest 5.1.0+, so the version should be updated.
-
由 Rafael Mendonça França 提交于
Require action_view explicitly in AC::Base
-