* Cleanup implementation * Instead of using pager.html.setting[:first_last] = false, please simply set pager.html.setting[:first_text] and pager.html.setting[:last_text] to nil. This way, we don't need to remember another option. * Instead of using div with style="display:inline", simply use span * active_class by default set to "pagination_active" instead of "active" * Also introduced inactive_class, which would be used in links. By default, the name is "pagination_inactive". If you don't like this, please set setting[:inactive_class] to nil.