Making dynamic filters easier
Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
MIT-LICENSE
README
Rakefile
init.rb
install.rb
uninstall.rb

README

FilteredRelation
================

Making dynamic filters easier

Example
=======

posts = Post.filtered_relation(:comments => true).where(:user_id => 4).limit(3).order("id ASC") 




posts.each do |post| 

	# Do something here... 

end