- 09 12月, 2012 14 次提交
-
-
由 Jeremy Kemper 提交于
Make rake task for code statistics handle new test locations properly
-
由 George Claghorn 提交于
As of 2a68f68a: - Unit tests are now in test/models, instead of test/units - Functional tests are now in test/controllers, instead of test/functional - Helper tests are now in test/helpers, instead of test/units/helpers - Mailer tests are now in test/mailers, instead of test/functional Update the rake task for code statistics (`rake stats`) so that it recognizes files in the above locations as tests, and accurately calculates statistics such as "Test LOC" and "Code to Test Ratio." Safely handle Rails apps that still have tests in the old locations.
-
由 Jeremy Kemper 提交于
RG2 packager expects each spec.files path to be a file and bombs when it tries to tarball a dir. May revert if rubygems/rubygems#413 is accepted.
-
由 Carlos Antonio da Silva 提交于
Otherwise it was matching "end" lines from blocks within the method body, making tests such as the migration ones fail.
-
由 Jeremy Kemper 提交于
Add `variables:` to database.yml for mysql, mysql2, and postgresql adapters
-
由 Vijay Dev 提交于
Kindle ebook generation with working section navigation
-
由 Vijay Dev 提交于
-
由 Aaron Stone 提交于
in the new 'variables:' hash in each database config section in database.yml. The key-value pairs of this hash will be sent in a 'SET key = value, ...' query on new database connections. The configure_connection methods from mysql and mysql2 into are consolidated into the abstract_mysql base class.
-
由 Vijay Dev 提交于
-
由 Vijay Dev 提交于
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
* Fix example queries * Remove doc entries of where.like/not_like. * Remove :chain from where.not related docs. To me that's an implementation detail and we don't expect people to use where(:chain).not.
-
由 Carlos Antonio da Silva 提交于
Fix #assert_instance_method to also assert indented methods
-
- 08 12月, 2012 26 次提交
-
-
由 Rafael Mendonça França 提交于
use _action callbacks in actionmailer
-
由 Francesco Rodriguez 提交于
-
由 Francesco Rodriguez 提交于
-
由 Carlos Antonio da Silva 提交于
Use attr_accessor for Rails.{application,cache,logger}
-
由 Carlos Antonio da Silva 提交于
Update AR Changelog with correct example using includes [ci skip]
-
由 Caike Souza 提交于
These queries don't seem to work without the includes clause. [ci skip]
-
由 Carlos Antonio da Silva 提交于
Update guides to use _action callbacks [ci skip]
-
由 Carlos Antonio da Silva 提交于
use :only instead of :except callback option in the controller template
-
由 Steve Klabnik 提交于
-
由 Steve Klabnik 提交于
-
由 Steve Klabnik 提交于
Mailers are always async now, and we already discuss queueing lower down in the guide.
-
由 Steve Klabnik 提交于
There's no reason for guides to reference old behaviors. They should be current as of the versions of Rails that they ship with, and including older information just clutters thing. I discussed this change with @fxn and he agrees.
-
由 Francesco Rodriguez 提交于
-
由 Francesco Rodriguez 提交于
-
由 Claudio B. 提交于
Fix a typo in rdoc (*expect* for *except*)
-
由 Francesco Rodriguez 提交于
As [Security Guide](http://edgeguides.rubyonrails.org/security.html#whitelists-versus-blacklists) says, it's better to use `before_filter only: []` instead of `except: []` so we don't forget to turn the filter off for newly added actions.
-
由 Katie Oldaker 提交于
-
由 Xavier Noria 提交于
Actionize2
-
由 Francesco Rodriguez 提交于
-
由 Francesco Rodriguez 提交于
-
由 Xavier Noria 提交于
Actionize: Use `_action` callbacks in documentation and code
-
由 Jeremy Kemper 提交于
Rename ActiveSupport::BasicObject to ActiveSupport::ProxyObject
-
由 Francesco Rodriguez 提交于
-
由 David Heinemeier Hansson 提交于
-
由 Francesco Rodriguez 提交于
-
由 Francesco Rodriguez 提交于
AS::BasicObject is used for proxy classes. Let's give it a less concerning name. Also, it avoids the confusion with Ruby's Basic Object.
-