jqGrid; no method error; total_entries
users_controller.rb in def index
respond_to do |format| format.html # index.html.erb format.json { render :json => users.to_jqgrid_json([:id, :pseudo, :firstname, :lastname, :email, :role], params[:page], params[:rows], users.total_entries) } end
=> users.size
http://www.2dconcept.com/jquery-grid-rails-plugin
http://www.2dconcept.com/articles/8-jquery-grid-rails-plugin