Project

General

Profile

Statistics
| Revision:
Name Size Revision Age Author Comment
  controllers 13252 almost 11 years Toshi MARUYAMA use references On Rails 4.0: <pre> DEPRECATIO...
  helpers 13253 almost 11 years Jean-Philippe Lang Removes some ruby1.8 handling code.
  models 13252 almost 11 years Toshi MARUYAMA use references On Rails 4.0: <pre> DEPRECATIO...
  sweepers 1157 over 17 years Jean-Philippe Lang Removed fragment caching on gantt and calendar.
  views 13248 almost 11 years Toshi MARUYAMA replace Relation#all On Rails4.0: DEPRECATION...

Latest revisions

# Date Author Comment
13253 2014-07-09 18:48 Jean-Philippe Lang

Removes some ruby1.8 handling code.

13252 2014-07-09 15:34 Toshi MARUYAMA

use references

On Rails 4.0:

DEPRECATION WARNING: It looks like you are eager loading table(s) (one of: issues, projects, em)
that are referenced in a string SQL snippet. For example:

    Post.includes(:comments).where("comments.title = 'foo'")

Currently, Active Record recognizes the table in the string, and knows to JOIN the comments table to the query,...
13251 2014-07-09 15:33 Toshi MARUYAMA

replace Relation#all

On Rails4.0:

DEPRECATION WARNING: Relation#all is deprecated.
If you want to eager-load a relation, you can call #load (e.g. `Post.where(published: true).load`).
If you want to get an array of records from a relation,
you can call #to_a (e.g. `Post.where(published: true).to_a`).

13250 2014-07-09 13:37 Toshi MARUYAMA

replace Relation#all

On Rails4.0:

DEPRECATION WARNING: Relation#all is deprecated.
If you want to eager-load a relation, you can call #load (e.g. `Post.where(published: true).load`).
If you want to get an array of records from a relation,
you can call #to_a (e.g. `Post.where(published: true).to_a`).

13249 2014-07-09 13:37 Toshi MARUYAMA

use references

On Rails 4.0:

DEPRECATION WARNING: It looks like you are eager loading table(s) (one of: issues, projects, em)
that are referenced in a string SQL snippet. For example:

    Post.includes(:comments).where("comments.title = 'foo'")

Currently, Active Record recognizes the table in the string, and knows to JOIN the comments table to the query,...
13248 2014-07-09 12:57 Toshi MARUYAMA

replace Relation#all

On Rails4.0:

DEPRECATION WARNING: Relation#all is deprecated.
If you want to eager-load a relation, you can call #load (e.g. `Post.where(published: true).load`).
If you want to get an array of records from a relation,
you can call #to_a (e.g. `Post.where(published: true).to_a`).

13241 2014-07-09 09:35 Toshi MARUYAMA

fix "connection" at IssueQuery model

13236 2014-07-09 00:04 Jean-Philippe Lang

Preload project by default in #shared_versions.

13233 2014-07-08 23:19 Jean-Philippe Lang

Test suite passes with Rails 4.1.

13232 2014-07-08 23:16 Jean-Philippe Lang

Rails 4.1 branch

View revisions

Also available in: Atom