Skip to content

Commit 0968543

Browse files
author
Joel Quenneville
committed
changes to the README
1 parent 6c48e91 commit 0968543

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,23 @@ Datatables is a nifty jquery plugin that adds the ability to paginate, sort, and
66

77
## Installation
88

9-
Add this line to your application's Gemfile:
9+
Add these lines to your application's Gemfile:
1010

11+
gem 'jquery-datatables-rails'
1112
gem 'ajax-datatables-rails'
1213

1314
And then execute:
1415

1516
$ bundle
1617

17-
Or install it yourself as:
18-
19-
$ gem install ajax-datatables-rails
20-
2118
## Usage
2219

23-
TODO: Write usage instructions here
20+
### Model
21+
Run the following command:
22+
23+
rails generate ajaxdatatable <modelname>
2424

25+
This will generate a file in `app/datatables`
2526
## Contributing
2627

2728
1. Fork it

0 commit comments

Comments
 (0)