We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8139a4c commit d9f52d4Copy full SHA for d9f52d4
README.md
@@ -48,6 +48,45 @@ def initialize(view)
48
end
49
```
50
51
+#### Data
52
+```ruby
53
+def data
54
+ users.map do |user|
55
+ [
56
+ # comma separated list of the values for each cell of a table row
57
+ ]
58
+ end
59
+end
60
+```
61
+
62
+This method builds a 2d array that is used by datatables to construct the html table. Insert the values you want on each column.
63
64
65
66
67
68
+ user.f_name,
69
+ user.l_name,
70
+ user.bio
71
72
73
74
75
76
+#### Get Raw Records
77
78
+def get_raw_records
79
+ # insert query here
80
81
82
83
+This is where your query goes.
84
85
86
87
+ User.all
88
89
90
91
## Contributing
92
0 commit comments