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 b27df18 commit 66e81baCopy full SHA for 66e81ba
README.md
@@ -451,7 +451,8 @@ It also helps in separating view/presentation logic from filtering logic (the on
451
Example :
452
453
```ruby
454
-...
+class UserDatatable < AjaxDatatablesRails::ActiveRecord
455
+ ...
456
def data
457
records.map do |record|
458
{
@@ -464,7 +465,8 @@ Example :
464
465
}
466
end
467
468
469
+end
470
471
class UserDecorator < ApplicationDecorator
472
delegate :last_name, :bio
0 commit comments