- 06 9月, 2012 4 次提交
-
-
由 Aaron Renner 提交于
-
由 schneems 提交于
In response to this rails issue: https://github.com/rails/rails/issues/3729
-
由 Andreas Loupasakis 提交于
-
由 Aldo "xoen" Giambelluca 提交于
In the sentence "If <tt>@post.author_ids</tt> is [1], this would ..." the array [1] is converted in a footnote, fixed this using <notextile>.
-
- 05 9月, 2012 1 次提交
-
-
由 Ryan Bigg 提交于
I've personally seen too many newbies get this wrong and pluralize the association
-
- 04 9月, 2012 2 次提交
-
-
由 Konstantin Haase 提交于
-
由 Guillermo Iguaran 提交于
-
- 03 9月, 2012 7 次提交
-
-
由 Gaurish Sharma 提交于
Tagged logging for which Rails has support since [3.2](http://guides.rubyonrails.org/3_2_release_notes.html#tagged-logging). It is trivial & useful but unless somebody explicitly searches API docs, he/she may not know about it. Hence, I added it in guides.
-
由 Anuj Dutta 提交于
-
由 Aldo "xoen" Giambelluca 提交于
Changed the title of the 3.5 chapter from "Using the change Method" to "When to Use the change Method" since the chapter tells the migration definitions supported by the change method. This fix the duplicate ID in the document. I've also changed some of the titles to respect the Guides guidelines.
-
由 Aldo "xoen" Giambelluca 提交于
-
由 Aldo "xoen" Giambelluca 提交于
erb tag wasn't closed well
-
由 Aldo "xoen" Giambelluca 提交于
-
由 Aldo "xoen" Giambelluca 提交于
-
- 02 9月, 2012 6 次提交
-
-
由 Aldo "xoen" Giambelluca 提交于
In chapter 2.4 there was an underscore at the start of the attr_readonly method name, this underscore was interpreted as the opening of the <em> tag but it wasn't closed. Worst, the underscore in self.class.serialized_attributes (end of paragraph) was interpreted as the closing of the <em> tag and not as the name of a method.
-
由 Vijay Dev 提交于
-
由 Vijay Dev 提交于
-
由 Xavier Noria 提交于
The app generator is not generally run under bundler, but the Bundler constant is used here. In particular you cannot create --dev apps without this.
-
由 Piotr Sarnacki 提交于
-
- 01 9月, 2012 10 次提交
-
-
由 Piotr Sarnacki 提交于
ActionView decoupling and sprockets-rails tests fail
-
由 Dmitry Vorotilin 提交于
Method invalid_asset_host! was delegated to controller but sprockets compile assets in their own scope without controller. And if we set asset_host with second parameter it should raise error through invalid_asset_host!. But since controller is nil it cannot be reached.
-
由 Sven Kraeuter | 5v3n 提交于
-
由 Piotr Sarnacki 提交于
-
由 Piotr Sarnacki 提交于
Option to run `bundle install` after generating new appplication was added recently to rails. Since introduction, it contained a subtle bug that caused it to use `Gemfile` from current directory (if it exists) rather than from generated directory. This also accidentaly caused railties tests to work without any problems - after generating test app it just used `Gemfile` from the repository, rather than the one in generated app. After fixing the bug mentioned above, this of course broke. The easiest way to bypass that is to not generate a `Gemfile` for test application - with such setup Bundler will just use first available `Gemfile` in one of the parent directories.
-
由 Piotr Sarnacki 提交于
-
由 Piotr Sarnacki 提交于
The cause of the previous revert was bug in bundler that made it hard to make railties test work. Fix for bundler was recently pushed to github, so now we can safely get back to the original commit. This reverts commit 0f5cc34a.
-
由 Steve Klabnik 提交于
SessionHash isn't a thing, and tenses are wrong.
-
由 Pratik Naik 提交于
-
由 Jon Leighton 提交于
This is purely a performance optimisation. See https://gist.github.com/3552829
-
- 31 8月, 2012 10 次提交
-
-
由 Jon Leighton 提交于
This is a performance/GC optimisation. In theory, this could be optimised by the implementation (last time I checked, this would have no effect on JRuby). But in practise, this make attribute access faster.
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
We don't need separate @class_to_pool and @connection_pool hashes.
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
* Loop rather than recurse in retrieve_connection_pool * Key the hash by class rather than class name. This avoids creating unnecessary strings.
-
由 Jon Leighton 提交于
This reverts commit 7256cb53, reversing changes made to 6ebe22c3. Reason: A test was failing.
-
由 Jon Leighton 提交于
This reverts commit e4b33b08. https://github.com/rails/rails/pull/7452#issuecomment-8094302
-
由 Sven Kräuter 提交于
Fixed little mistake in the docs
-
由 Sven Kräuter 提交于
-
由 Xavier Noria 提交于
the example for contraint( :ip => XXXX) has an invalid regex
-