Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A Rails plugin/gem that provides an API to declare which string columns in your models should be case (in)sensitive.
branch: master

Got active record finders to do case-insensitive lookups, using the f…

…ollowing methods:

	- Dynamic finders - User.find_by_username('greyghost')
	- Hash conditions - User.find(:first, :conditions => { :username => 'greyghost' })
	- Array conditions using question marks - User.find(:first, :conditions => ['username = ?', 'greyghost'])
	- Array conditions using symbols - User.find(:first, :conditions => ['username = :u', { :u => 'greyghost' }])
latest commit 86f3ffdb56
Myron Marston authored
Failed to load latest commit information.
lib Got active record finders to do case-insensitive lookups, using the f…
test Got active record finders to do case-insensitive lookups, using the f…
.document Initial commit to case_insensitive_attributes.
.gitignore Got basic test environment setup.
LICENSE Initial commit to case_insensitive_attributes.
README.rdoc
Rakefile Got basic test environment setup.

README.rdoc

case_insensitive_attributes

Description goes here.

Note on Patches/Pull Requests

  • Fork the project.

  • Make your feature addition or bug fix.

  • Add tests for it. This is important so I don't break it in a future version unintentionally.

  • Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but

    bump version in a commit by itself I can ignore when I pull)
  • Send me a pull request. Bonus points for topic branches.

Copyright

Copyright © 2009 Myron Marston. See LICENSE for details.

Something went wrong with that request. Please try again.