<commit_before>= sortable_columns

A clean and lightweight solution for making table columns sortable.

== Install

Put this line in your Gemfile:
  gem 'sortable_columns'

Then bundle:
  % bundle


== Usage

=== Column Sorter

Just instantiation the +ColumnSorter+ object with the class to be sorted and pass the pertinent parameters to it.

    sort = ColumnSorter.new(klass)
    sort.column(params[:column])
    sort.direction(params[:direction])

=== Views

Just call the +sortable+ helper:
  <%= sortable column_name %>

== TODOS

* This gem has zero testing coverage [SAD TROMBONE](http://www.sadtrombone.com/) ;(..
* ActiveRecord Scope Extension

== Copyright

Copyright (c) 2012 <NAME>. See LICENSE.txt for further details.<commit_msg>Update readme.<commit_after>= sortable_columns

A clean and lightweight solution for making table columns sortable.

== Install

Put this line in your Gemfile:
  gem 'sortable_columns'

Then bundle:
  % bundle


== Usage

=== Column Sorter

Just instantiation the +ColumnSorter+ object with the class to be sorted and pass the pertinent parameters to it.

    sort = ColumnSorter.new(klass)
    sort.column(params[:column])
    sort.direction(params[:direction])

=== Views

Just call the +sortable+ helper:
  <%= sortable column_name %>

== TODOS

* This gem has zero testing coverage link(http://www.sadtrombone.com/, [SAD TROMBONE])    ;(..
* ActiveRecord Scope Extension

== Copyright

Copyright (c) 2012 <NAME>. See LICENSE.txt for further details.
{'fraction_non_alphanumeric': 0.10026737967914438, 'fraction_numerical': 0.0053475935828877, 'mean_word_length': 4.252631578947368, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1615826', 'n_tokens_mistral': 465, 'n_tokens_neox': 440, 'n_words': 159}