- 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 15 次提交
-
-
由 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
-
由 Aldo "xoen" Giambelluca 提交于
The example is about a Person model, say that "params[:model] would usually be a hash of all the attributes for the person to create" could be confusing. I changed to params[:person] since the example is about a Person creation.
-
由 Jeff Shantz 提交于
Added a bullet for :enable_starttls_auto in the smtp_settings table
-
由 José Valim 提交于
Since it uses request and response methods
-
由 Kevin Musiorski 提交于
in section 4.1 acts_as_yaffle_test was incorrectly failing due to assertion incorrectly using symbol instead of string
-
由 Kevin Musiorski 提交于
-