README.markdown in tableficate-0.2.0 vs README.markdown in tableficate-0.2.1
- old
+ new
@@ -7,11 +7,11 @@
$ gem install tableficate
If you're using Bundler, add this to your Gemfile:
- gem 'tableficate', '~0.2.0'
+ gem 'tableficate', '~>0.2.0'
## Support
### Ruby
1.9+
@@ -63,10 +63,10 @@
$ rails generate tableficate:table AccountReport Account
Our table model:
class AccountReport < Tableficate::Base
- scope :accounts
+ scope :account
default_sort :created_at, 'DESC'
column :full_name, sort: 'first_name ASC, last_name ASC'