WiceGrid version 3.4.0
WiceGrid version 3.4.0 has been released.
Changelog
Version 3.4.0 of WiceGrid works with Rails 4 without any changes to the API.
However, Rails 4 produces the following deprecation message:
1
2
3
4
5
6
7
DEPRECATION WARNING: It looks like you are eager loading table(s) (one of: tasks, statuses) 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, rather than loading comments in a separate query. However, doing this without writing a full-blown SQL parser is inherently flawed. Since we don't want to write an SQL parser, we are removing this functionality. From now on, you must explicitly tell Active Record when you are referencing a table from a string:
Post.includes(:comments).where("comments.title = 'foo'").references(:comments)
This will be fixed in future versions of WiceGrid and will cause a change in the declaration of columns.
October 11, 2013 | | Tagged rails, wicegrid