Skip to content

Commit

Permalink
version 3.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
leikind committed Oct 11, 2013
1 parent c6afb8d commit 4b09d56
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
16 changes: 13 additions & 3 deletions README.rdoc
Original file line number Diff line number Diff line change
@@ -1,17 +1,27 @@
= WiceGrid

Version:: 3.3.1
Version:: 3.4.0
Author:: Yuri Leikind
Sources:: https://github.com/leikind/wice_grid/
Examples online:: http://wicegrid.herokuapp.com
News:: http://leikind.org/pages/wicegrid/
Email:: "Yuri Leikind" <yuri.leikind at gmail dot com>

FOR RAILS 3 USE VERSION 3.x

FOR RAILS 2 USE VERSION 0.6 (https://github.com/leikind/wice_grid/tree/master).

FOR RAILS 3 USE VERSION 3.3.x

FOR RAILS 4 USE VERSION 3.4.x. However with WiceGrid 3.4.0 Rails 4 produdes the following deprecation message:

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.

== Intro

Expand Down
4 changes: 2 additions & 2 deletions wice_grid.gemspec
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Gem::Specification.new do |s|
s.name = 'wice_grid'
s.version = '3.3.1'
s.version = '3.4.0'
s.homepage = 'https://github.com/leikind/wice_grid'
s.date = '2013-08-04'
s.date = '2013-10-11'
s.summary = 'A Rails grid plugin to create grids with sorting, pagination, and (automatically generated) filters.'
s.description = 'A Rails grid plugin to create grids with sorting, pagination, and (automatically generated) filters.' +
'One of the goals of this plugin was to allow the programmer to define the contents of the cell by himself, ' +
Expand Down

0 comments on commit 4b09d56

Please sign in to comment.