Skip to content
This repository
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 MIT-LICENSE
Octocat-spinner-32 README.rdoc
Octocat-spinner-32 Rakefile
Octocat-spinner-32 alphabar.gemspec
README.rdoc

USAGE

# In your controller
@users, @paginator = User.alpha_scope :last_name, params[:ltr]

# In your view
<%= alphabar @paginator %>
<ul>
  <% for user in @users %>
    <li><%= user %></li>
  <% end %>
</ul>

See rdoc for more details.

FAIR WARNING

This plugin/gem was mostly written in the early 1.0 days. Upgraded to 1.2 as some point. Just recently updated to 2.3.8 then 3.x although in the process the old testing code was too crufty to upgrade so I just dropped it completely.

So it has some experience but the upgrade cycles might have introduced some bugs. Without good testing we don't know.

Tasks for a future project:

  • Implement testing again

CREDIT

This code was developed by Eric Anderson (pixelwareinc.com) in large part while working on projects under CorData (cordata.com).

Something went wrong with that request. Please try again.