Comments (4)
what does puts grid_data.class
say?
from wice_grid.
Thats Model::ActiveRecord_Relation
I found one thing.
@grid = initialize_grid(grid_data.klass)
It is work!!
from wice_grid.
what is the version of the plugin?
initialize_grid(grid_data.klass)
makes everything you did before useless (Model.using(:shard_name).where(id: 1)
)
from wice_grid.
This my project gem list.
Using rake 11.1.2
Using i18n 0.7.0
Using json 1.8.3
Using minitest 5.8.4
Using thread_safe 0.3.5
Using builder 3.2.2
Using erubis 2.7.0
Using mini_portile2 2.0.0
Using rack 1.6.4
Using mime-types-data 3.2016.0221
Using arel 6.0.3
Using execjs 2.6.0
Using bcrypt 3.1.11
Using debug_inspector 0.0.2
Using sass 3.4.22
Using byebug 9.0.0
Using cancan 1.6.10
Using coffee-script-source 1.10.0
Using thor 0.19.1
Using concurrent-ruby 1.0.2
Using orm_adapter 0.5.0
Using devise-i18n 1.0.1
Using multi_json 1.12.0
Using mysql2 0.4.4
Using bundler 1.12.5
Using raphael-rails 2.1.2
Using tilt 2.0.3
Using spring 1.7.1
Using rdoc 4.2.2
Using tzinfo 1.2.2
Using nokogiri 1.6.7.2
Using rack-test 0.6.3
Using warden 1.2.6
Using passenger 5.0.28
Using mime-types 3.0
Using autoprefixer-rails 6.3.6
Using uglifier 3.0.0
Using binding_of_caller 0.7.2
Using coffee-script 2.4.1
Using sprockets 3.6.0
Using sdoc 0.4.1
Using activesupport 4.2.6
Using loofah 2.0.3
Using mail 2.6.4
Using bootstrap-sass 3.3.6
Using rails-deprecated_sanitizer 1.0.3
Using globalid 0.3.6
Using activemodel 4.2.6
Using jbuilder 2.4.1
Using rails-html-sanitizer 1.0.3
Using rails-dom-testing 1.0.7
Using activejob 4.2.6
Using activerecord 4.2.6
Using actionview 4.2.6
Using ar-octopus 0.8.6
Using actionpack 4.2.6
Using actionmailer 4.2.6
Using railties 4.2.6
Using kaminari 0.17.0
Using sprockets-rails 3.0.4
Using simple_form 3.2.1
Using coffee-rails 4.1.1
Using responders 2.2.0
Using font-awesome-rails 4.6.2.0
Using jquery-rails 4.1.1
Using jquery-ui-rails 5.0.5
Using morrisjs-rails 0.5.1
Using rails-i18n 4.0.8
Using rails 4.2.6
Using sass-rails 5.0.4
Using web-console 2.3.0
Using turbolinks 2.5.3
Using wice_grid 3.6.2
Using devise 4.1.0
Using jquery-turbolinks 2.1.0
It is not work.
@grid = initialize_grid(grid_data)
but this code work.
@grid = initialize_grid(grid_data.klass)
from wice_grid.
Related Issues (20)
- Problem with request SQL too slow HOT 2
- Saving other http query parameters along with filters HOT 4
- fter row
- Auto Reload Only Works Once? HOT 3
- Broken Filters - query params concatenate if you filter again HOT 1
- How to save the state of action column checkboxes when reloading next page? HOT 1
- Failing to unscoped HOT 1
- undefined method `page' for Class HOT 1
- Candidate for project maintainer HOT 1
- PostgreSQL PG::InvalidTextRepresentation error when using decimals in range filter
- Association issue on FROM clause
- How to use filter by full datetime (with time part)? HOT 1
- wanted: change generated html id for table filter column HOT 4
- CSV export for large files HOT 2
- How resize column width? HOT 1
- Rails 4.2.3, Can't skip with default_scope HOT 3
- Rails 5 Compatibility [Answered] HOT 9
- How can I completely disable/remove sorting? HOT 1
- How to prevent 'wice-grid' from being added to the table?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wice_grid.