- 23 9月, 2013 13 次提交
-
-
由 Bogdan Gusiev 提交于
Example: = select(report, "campaign_ids") do - available_campaigns.each do |c| %option{:data => {:tags => c.tags.to_json}, :value => c.id}= c.name
-
由 Yves Senn 提交于
[ci skip] Add `null` type modifier in migrations.md.
-
由 Guillermo Iguaran 提交于
Only output Server logs in Development
-
由 schneems 提交于
Right now when you start a server via `rails s`, the logger gets extended so that it logs to the file system and also to stdout. This extension behavior is not "intelligent" and if the default logger is already set to output to stdout, then the contents will be received twice. To capture logs in accordance with http://www.12factor.net/logs some platforms require the logs to be sent to standard out. If a logger is set to stdout, and the server is started using `rails server` instead of another method (i.e. `thin start` etc.) then the app will produce double logs. This PR fixes the issue by only extending the logger to standard out in the development environment. So that in production you don't get double logs like this: ``` ActionView::Template::Error (wrong number of arguments (5 for 4)): 1: <% lang_index = 0 %> 2: <div class="row"> 3: <ul class="nav nav-tabs nav-stacked span2" data-tabs="tabs" id="repo-tabs"> 4: <% repos.group_by(&:language).each do |lang, repos| %> 5: <% unless lang == nil %> 6: <li><a href="#<%= "#{lang.parameterize}#{lang.hash}" %>" data-toggle="tab"><%= lang %></a></li> 7: <% end -%> app/views/shared/_repos.html.erb:4:in `_app_views_shared__repos_html_erb___1685450633638247395_70300668607000' app/views/pages/index.html.erb:13:in `_app_views_pages_index_html_erb__2084723628308867770_70300687584880' ActionView::Template::Error (wrong number of arguments (5 for 4)): 1: <% lang_index = 0 %> 2: <div class="row"> 3: <ul class="nav nav-tabs nav-stacked span2" data-tabs="tabs" id="repo-tabs"> 4: <% repos.group_by(&:language).each do |lang, repos| %> 5: <% unless lang == nil %> 6: <li><a href="#<%= "#{lang.parameterize}#{lang.hash}" %>" data-toggle="tab"><%= lang %></a></li> 7: <% end -%> app/views/shared/_repos.html.erb:4:in `_app_views_shared__repos_html_erb___1685450633638247395_70300668607000' app/views/pages/index.html.erb:13:in `_app_views_pages_index_html_erb__2084723628308867770_70300687584880' ``` ATP Railties. Opened against master in favor of #10999
-
由 Andrew White 提交于
Rewrite Journey::Visitors::Formatter for performance
-
由 Andrew White 提交于
Prevent server blow up when iterating over TimeWithZone Range
-
由 Rafael Mendonça França 提交于
handle `:namespace` form option in collection labels
-
由 Rafael Mendonça França 提交于
Dump UUID default functions to schema.rb [2nd version]. Fixes #10751. Conflicts: activerecord/CHANGELOG.md
-
由 Vasiliy Ermolovich 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
Fixed a bug in when using has_many association with :inverse_of option and UUID primary key. Conflicts: activerecord/CHANGELOG.md
-
由 Rafael Mendonça França 提交于
[ci skip] Add some comment about downcase url encoded string.
-
由 Rafael Mendonça França 提交于
[ci skip] Add missing migrate step in generating comment resource section.
-
- 22 9月, 2013 9 次提交
-
-
由 Juanito Fatas 提交于
-
由 Juanito Fatas 提交于
-
由 Rafael Mendonça França 提交于
Fix typo. This test isn't executed even in the postgresql.
-
由 Rafael Mendonça França 提交于
This will make easier to hook protected_attributes gem in our code without making that gem fragile to change in Rails code base. Closes #12243
-
由 kennyj 提交于
-
由 Vijay Dev 提交于
Removes (redundant?) sentence fragment in intro text
-
由 Vijay Dev 提交于
[ci skip] Fix a typo in Engines.md.
-
由 Juanito Fatas 提交于
-
由 kennyj 提交于
-
- 21 9月, 2013 4 次提交
-
-
由 douglascalhoun 提交于
Looks like a remnant sentence fragment from the 3.2 guide.
-
由 Santiago Pastorino 提交于
Remove unused AV helper fixtures from e10a2531
-
由 Rafael Mendonça França 提交于
Documentation Fix: Remove broken link on rails 3 guide Closes #12300
-
由 José Valim 提交于
Bust the template digest cache key when details are changed
-
- 20 9月, 2013 11 次提交
-
-
由 José Valim 提交于
Allow attaching to AS::Notifications namespace up front
-
由 José Valim 提交于
DRYing up method_missing code; Initializing Codepoint object with default values
-
由 Gary Rennie 提交于
As raised in https://github.com/rails/rails/issues/12300 [ci skip]
-
由 Daniel Schierbeck 提交于
Before, you were required to attach *after* adding the methods to the class, since the attachment process needed the methods to be present. With this change, any new method will also be attached to the configured namespace.
-
由 Yves Senn 提交于
-
由 Hitendra Singh 提交于
-
由 Hitendra Singh 提交于
-
由 Guillermo Iguaran 提交于
Allow failures in jruby-head
-
由 Gaurish Sharma 提交于
-
由 Guillermo Iguaran 提交于
Run Tests against JRuby master
-
由 Gaurish Sharma 提交于
Many of the failing tests in rails test suite fail because of missing encoding support, example #11739 And according to recent announcement, lot of encoding issues have been fixed in current master. http://ruby.11.x6.nabble.com/Big-encoding-patches-landed-on-master-td4993719.html So lets test against JRuby master & incase there are still bugs. it would be easier to report them to JRuby.
-
- 19 9月, 2013 3 次提交
-
-
由 Andrew White 提交于
Fix incorrect assert_redirected_to failure message
-
由 Derek Prior 提交于
The previous regex was allowing `_` in the URI scheme, which is not allowed by RFC 3986. This change brings the regex in line with the RFC.
-
由 Derek Prior 提交于
In some instances, `assert_redirected_to` assertion was returning an incorrect and misleading failure message when the assertion failed. This was due to a disconnect in how the assertion computes the redirect string for the failure message and how `redirect_to` computes the string that is actually used for redirection. I made the `_compute_redirect_to_loaction` method used by `redirect_to` public and call that from the method `assert_redirect_to` uses to calculate the URL. The reveals a new test failure due to the regex used by `_compute_redirect_to_location` allow `_` in the URL scheme.
-