- 06 7月, 2016 6 次提交
-
-
由 Kasper Timm Hansen 提交于
`travel/travel_to` travel time helpers, now raise on nested calls
-
由 Rafael França 提交于
Merge pull request #25704 from fledman/add_respond_to_missing_to_rails_application_configuration_custom implement respond_to_missing? to match method_missing
-
由 Rafael França 提交于
Use `squish` rather than `strip_heredoc`
-
由 David Feldman 提交于
-
由 Rafael França 提交于
Allow rake notes to work with other directories.
-
由 Rafael França 提交于
Deprecate usage of nil as route path
-
- 05 7月, 2016 14 次提交
-
-
由 Volmer 提交于
In Rails 4 these kind of routes used to work: ```ruby scope '/*id', controller: :builds, as: :build do get action: :show end ``` But since 1a830cbd, routes are only created for paths specified as strings or symbols. Implicit `nil` paths are just ignored, with no deprecation warnings or errors. Routes are simply not created. This come as a surprise for people migrating to Rails 5, since the lack of logs or errors makes hard to understand where the problem is. This commit introduces a deprecation warning in case of path as `nil`, while still allowing the route definition.
-
由 Richard Schneeman 提交于
Display railtie class name in `rails initializers`
-
由 John Meehan 提交于
accidently set it to. Made the change and test still passes.
-
由 Jon Moss 提交于
Add header demarcation to Action Cable guide
-
由 Josh Justice 提交于
Guide generation is configured to detect a guide header by a 40-or-more-hyphen long line. The Action Cable guide was missing this line, so the page title on the guides site was only showing "Ruby on Rails Guides", and the section title in the Kindle index was "Ruby on Rails Guides". Adding the header demarcation line back in fixes both of these. Fixes #25697 [ci skip]
-
由 प्रथमेश Sonpatki 提交于
Point to the correct documentation
-
由 Benjamin Quorning 提交于
The options used in this file are *not* directly described in the Rails 5.0 release notes (http://edgeguides.rubyonrails.org/5_0_release_notes.html), but instead in section 2 of the Guide for Upgrading Ruby on Rails document (http://edgeguides.rubyonrails.org/upgrading_ruby_on_rails.html).
-
由 John Meehan 提交于
-
由 Richard Schneeman 提交于
Robots.txt removed disallow all instructions
-
由 John Meehan 提交于
Additional directories can be added using SourceAnnotationExtractor::Annotation.register_directories("spec", "other_dir") Result: rake notes will now extract notes from these directories.
-
由 Rafael França 提交于
Dry downloader
-
由 Santiago Pastorino 提交于
Pathname might not be always initialized.
-
由 Sam Sweeney 提交于
-
由 Rafael França 提交于
Fixed unnecessary nesting in handle_dependency
-
- 04 7月, 2016 11 次提交
-
-
由 Robin Dupret 提交于
Fix a link to use RDoc syntax and make sure that the titles' level match the section we are in since we are both documenting the new and the legacy syntax.
-
由 प्रथमेश Sonpatki 提交于
fix respond_to? documentation [ci skip]
-
由 Kivanio Barbosa 提交于
-
由 Herman Hiddema 提交于
This nested if checked the same value as the containing case statement. Moved the code in the if/else into when/else in the containing case.
-
由 Vít Ondruch 提交于
-
由 Vít Ondruch 提交于
Require 'pathname' explicitly
-
由 Vít Ondruch 提交于
-
由 Xavier Noria 提交于
Update Syntax Highlighter to version 4 [ci skip]
-
由 Matthew Draper 提交于
Add ActiveSupport::Notifications hook to ActionCable::Server.broadcast
-
由 Matthew Draper 提交于
ActionCable, sometimes add_channel is not called.
-
由 Ryuta Kamizono 提交于
-
- 03 7月, 2016 9 次提交
-
-
由 Richard Schneeman 提交于
Improve error message when record touch fails.
-
由 Vipul A M 提交于
- Build Syntax Highlighter based on https://github.com/syntaxhighlighter/syntaxhighlighter/wiki/Building and use theme generated by fxn. - This also bundles these brushes in the file itself- ruby,css,xml,sql,javascript,plain. Generation command used: gulp build --compat --brushes=javascript,ruby,xml,sql,plain --theme=/Path/To/RailsSource/rails/guides/assets/stylesheets/syntaxhighlighter/shThemeRailsGuides.css - rm all old js and css files - Moved over how JS configuration is created for Syntax Highlighter - Fixed layout for all imports - Fixes bug with old copy paste, generating wrong space character on webkit https://github.com/syntaxhighlighter/syntaxhighlighter/blob/7caa9632e7fe470d944fc06b4db7d35352ebaa36/src/dom.js#L227 Fixes #25655
-
由 Vipul A M 提交于
Clarify Postgres initials. [skip ci]
-
由 William Johnston 提交于
-
由 Vipul A M 提交于
Update Rails 5 release notes with syntax fixes. [ci skip]
-
由 Ben Standefer 提交于
The current error message only indicates that a touch can fail because the record is new. In practice, we saw cases where touches were failing because the record had been destroyed. `persisted?` checks `new_record?` *and* `destroyed?`. It was confusing to get a message about a new record when in reality we were destroying records. I also included a helpful tip for users to consider using `persisted?`, `new_record?`, or `destroyed?` before touching.
-
由 William Johnston 提交于
-
由 Vipul A M 提交于
as this can lead to confusing time stubbing. Instead of: travel_to 2.days.from_now do # 2 days from today travel_to 3.days.from_now do # 5 days from today end end preferred way to achieve above is: travel_to 2.days.from_now # 2 days from today travel_back travel_to 5.days.from_now # 5 days from today Closes #24690 Fixes #24689
-
由 Vipul A M 提交于
Fix typo: accidently -> accidentally. [ci skip]
-