Skip to content

Commit d3ba20b

Browse files
author
Joel Quenneville
committed
added some more documentation
1 parent c60fcbc commit d3ba20b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Datatables is a nifty jquery plugin that adds the ability to paginate, sort, and search your html tables. When dealing with large tables (more than a couple hundred rows) however, we run into performance issues. These can be fixed by using server-side pagination, but this breaks some datatables functionality.
44

5-
`ajax-datatables-rails` is a wrapper around datatable's ajax methods that allow synchronization with server-side pagination in a rails app.
5+
`ajax-datatables-rails` is a wrapper around datatable's ajax methods that allow synchronization with server-side pagination in a rails app. It was inspired by this (railscast)[http://railscasts.com/episodes/340-datatables]. I needed to implement a similar solution in a couple projects I was working on so I extracted it out into a gem.
66

77
## Installation
88

@@ -38,7 +38,7 @@ end
3838

3939
* For `@searchable_columns`, assign an array of the database columns that you want searchable by datatables. For example `[users.f_name, users.l_name]`
4040

41-
This gives us:
41+
This gives us:
4242
```ruby
4343
def initialize(view)
4444
@model_name = User

0 commit comments

Comments
 (0)