aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Move `create_binds` over to the `PredicateBuilder`Sean Griffin2015-01-193-34/+31
| | | | | | I'm looking to introduce a `WhereClause` class to handle most of this logic, and this method will eventually move over to there. However, this intermediate refactoring should make that easier to do.
* Whether a column exists or not doesn't affect whether we can use bindsSean Griffin2015-01-192-7/+4
| | | | | | Looking through the blame, this logic used to be when we actually created the bind tuple. My guess is that `nil` couldn't be handled there at that time. It can, now.
* Don't mutate bind values in `Relation`Sean Griffin2015-01-192-2/+1
| | | | | | | In order to better facilitate refactoring, most places that mutated `bind_values` have already been removed. One last spot snuck through. Since we're no longer mutating the array, it also does not need to be duped in `initialize_copy`.
* Merge pull request #18450 from tonytonyjan/patch-1Rafael Mendonça França2015-01-191-0/+2
|\ | | | | fix dependency
| * fix dependencyJian Weihang2015-01-121-0/+2
| |
* | Merge pull request #18593 from prathamesh-sonpatki/ar-changelogYves Senn2015-01-191-1/+1
|\ \ | | | | | | Fix wording in AR CHANGELOG about time columns change [ci skip]
| * | Fix wording in AR CHANGELOG about time columns change [ci skip]Prathamesh Sonpatki2015-01-191-1/+1
| | |
* | | Merge pull request #18594 from prathamesh-sonpatki/use-force-true-in-templatesYves Senn2015-01-192-4/+4
|\ \ \ | | | | | | | | Use force: true options for creating tables in bug templates
| * | | Use force: true options for creating tables in bug templatesPrathamesh Sonpatki2015-01-192-4/+4
| |/ / | | | | | | | | | | | | | | | | | | - Generally we have to run the bug templates multiple times to get them right and it always complains because the posts and comments tables already exist due to earlier runs. - Using force: true will eliminate this issue.
* | | Merge pull request #18600 from y-yagi/fix_number_field_tag_exampleAbdelkader Boudih2015-01-191-2/+2
|\ \ \ | |/ / |/| | fix typo in number_field_tag documentation [ci skip]
| * | fix typo in number_field_tag documentation [ci skip]yuuji.yaginuma2015-01-191-2/+2
|/ /
* | Merge pull request #18483 from rono23/fix-name_for_action-in-routingSantiago Pastorino2015-01-192-2/+41
|\ \ | | | | | | Fix name_for_action in routing
| * | Fix name_for_action in routingrono232015-01-192-2/+41
| | |
* | | Merge pull request #18380 from nobu/Use-EXEEXTSantiago Pastorino2015-01-191-1/+3
|\ \ \ | | | | | | | | Use EXEEXT
| * | | Use EXEEXTNobuyoshi Nakada2015-01-071-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the configured variable EXEEXT, instead of hardcoded suffix and platform names. And on such platforms, files which do not end with the suffix are not executable, so the original names are not necessary, in general.
* | | | Merge pull request #18591 from kamipo/remove_unused_accessorSantiago Pastorino2015-01-181-1/+1
|\ \ \ \ | | | | | | | | | | Remove unused accessor
| * | | | Remove unused accessorRyuta Kamizono2015-01-191-1/+1
| | | | |
* | | | | Merge pull request #18501 from prathamesh-sonpatki/nosqlSantiago Pastorino2015-01-183-1/+15
|\ \ \ \ \ | |/ / / / |/| | | | Run SQL only if attribute changed for update_attribute method
| * | | | Run SQL only if attribute changed for update_attribute methodPrathamesh Sonpatki2015-01-183-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | - This is based on https://github.com/rails/rails/issues/18400 but tackling same issue with update_attribute method instead of update method.
* | | | | Merge pull request #18586 from kamipo/should_escape_regexp_wildcard_characterXavier Noria2015-01-1814-34/+34
|\ \ \ \ \ | | | | | | | | | | | | Should escape regexp wildcard character `.`
| * | | | | Should escape regexp wildcard character `.`Ryuta Kamizono2015-01-1914-34/+34
|/ / / / / | | | | | | | | | | | | | | | | | | | | `.` is regexp meta character. It should be escape for `assert_match` correctly.
* | | | | Don't calculate in-place changes on attribute assignmentSean Griffin2015-01-183-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When an attribute is assigned, we determine if it was already marked as changed so we can determine if we need to clear the changes, or mark it as changed. Since this only affects the `attributes_changed_by_setter` hash, in-place changes are irrelevant to this process. Since calculating in-place changes can be expensive, we can just skip it here. I also added a test for the only edge case I could think of that would be affected by this change.
* | | | | Use bundler 1.7 on travisSean Griffin2015-01-181-0/+1
| | | | |
* | | | | Include stackprof on ruby 2.2 as well as 2.1Sean Griffin2015-01-181-1/+1
|/ / / /
* | | | Merge pull request #18576 from yui-knk/fix/autoload4Santiago Pastorino2015-01-181-3/+2
|\ \ \ \ | | | | | | | | | | [ci skip] Move a introduction of `Module.nesting`
| * | | | [ci skip] Move a introduction of `Module.nesting`yui-knk2015-01-181-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Move a introduction of `Module.nesting` to the beginning of sentence. This change will help reader to try to dump `nesting`.
* | | | | Merge pull request #18579 from ↵Santiago Pastorino2015-01-181-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | prathamesh-sonpatki/use-existing-constant-for-join Use existing constant for joining instead of '_'
| * | | | | Use existing constant for joining instead of '_'Prathamesh Sonpatki2015-01-181-1/+1
| | | | | |
* | | | | | Merge pull request #18578 from y-yagi/remove_logger_extensionsAbdelkader Boudih2015-01-181-44/+0
|\ \ \ \ \ \ | |/ / / / / |/| | | | | remove reference to `Logger` core extensions from guide [ci skip]
| * | | | | remove reference to `Logger` core extensions from guide [ci skip]yuuji.yaginuma2015-01-181-44/+0
| | | | | |
* | | | | | Merge pull request #18577 from prathamesh-sonpatki/nodoc-av-modelnamingGuillermo Iguaran2015-01-181-1/+1
|\ \ \ \ \ \ | |/ / / / / |/| | | | | nodoc ActionView::ModelNaming module
| * | | | | nodoc ActionView::ModelNaming modulePrathamesh Sonpatki2015-01-181-1/+1
|/ / / / / | | | | | | | | | | | | | | | | | | | | - Its only used by ActionView internals and not supposed to be used through public API.
* | | | | Merge pull request #18575 from yui-knk/fix/autoloadZachary Scott2015-01-171-5/+5
|\ \ \ \ \ | |/ / / / |/| | | | [ci skip] fix positions of parentheses
| * | | | [ci skip] fix positions of parenthesesyui-knk2015-01-181-5/+5
|/ / / /
* | | | Merge pull request #18569 from yuki24/eliminate-warning-in-action-view-testYves Senn2015-01-171-1/+5
|\ \ \ \ | | | | | | | | | | Eliminate a ruby warning in a test in Action View
| * | | | Eliminate a ruby warning in a test in Action ViewYuki Nishijima2015-01-171-1/+5
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | This eliminates the warning below: actionview/test/template/form_helper_test.rb:913: warning: method redefined; discarding old id_came_from_user? actionview/test/template/form_helper_test.rb:104: warning: previous definition of id_came_from_user? was here
* | | | Merge pull request #18567 from prathamesh-sonpatki/fix-assert-welcome-testRichard Schneeman2015-01-171-1/+2
|\ \ \ \ | | | | | | | | | | Fixed test for assert_welcome
| * | | | Fixed test for assert_welcomePrathamesh Sonpatki2015-01-171-1/+2
| | | | | | | | | | | | | | | | | | | | - Test was wrongly using assert with assignment statement.
* | | | | bring back unintentionally removed blank line [ci skip]Yves Senn2015-01-171-0/+1
| | | | | | | | | | | | | | | | | | | | Thanks @carlosantoniodasilva :yellow_heart:
* | | | | Merge pull request #18568 from vipulnsward/removed-deprecated-methods-from-docsZachary Scott2015-01-171-18/+2
|\ \ \ \ \ | |/ / / / |/| | | | Removed documentation of deprecated removed methods
| * | | | Removed documentation of deprecated removed methods [ci skip]Vipul A M2015-01-171-18/+2
| | | | |
* | | | | Merge pull request #18566 from yuki24/fix-assertion-in-ar-case-date-timeCarlos Antonio da Silva2015-01-171-1/+1
|\ \ \ \ \ | | | | | | | | | | | | Fix a false assertion
| * | | | | Fix a false assertionYuki Nishijima2015-01-171-1/+1
|/ / / / / | | | | | | | | | | | | | | | #assert was used when it should be assert_equal.
* | | | | Merge pull request #18564 from yui-knk/fix/autoload2Abdelkader Boudih2015-01-171-1/+1
|\ \ \ \ \ | |/ / / / |/| | | | [ci skip] Change to the passive voice
| * | | | [ci skip] Change to the passive voiceyui-knk2015-01-171-1/+1
|/ / / /
* | | | Merge pull request #18493 from twoller/masterYves Senn2015-01-172-10/+10
|\ \ \ \ | | | | | | | | | | Consistent anchor text in nav links, new image [ci skip]
| * | | | Use consistent anchor text throughout the guide.Toby Woller2015-01-152-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change all of anchor text in the nav links to `Back` and `Edit` Use `Edit | Back` on pages that use both links to conform to what scaffolding generates. Use consistent anchor text throughout the guide. Change all of anchor text in the nav links to `Back` and `Edit` Use `Edit | Back` on pages that use both links to conform to what scaffolding generates.
* | | | | Merge pull request #18558 from robertomiranda/patch-3 [ci skip]Yves Senn2015-01-171-2/+6
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | Update Molde Generator Usage
| * | | | | Update Molde Generator UsageRoberto Miranda2015-01-161-0/+5
| | | | | | | | | | | | | | | | | | Including has_secure_token generator
* | | | | | Merge pull request #18554 from mechanicles/use-take-methodSantiago Pastorino2015-01-171-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | A little performance improvement using 'take' method over 'first'