Category

Active Record Named Scopes

Define reusable query methods that can be chained together to construct complex database queries.

4.35
A long-lived project that still receives updates
Ransack is the successor to the MetaSearch gem. It improves and expands upon MetaSearch's functionality, but does not have a 100%-compatible API.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
0.57
No release in over 3 years
Low commit activity in last 3 years
There's a lot of open issues
Searchlogic makes using ActiveRecord named scopes easier and less repetitive.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
0.46
Low commit activity in last 3 years
There's a lot of open issues
No release in over a year
Filterrific is a Rails Engine plugin that makes it easy to filter, search, and sort your ActiveRecord lists.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
0.16
A long-lived project that still receives updates
Use deep_pluck as a shortcut to select one or more attributes and include associated models without loading a bunch of records. And DRY up your code when using #as_json.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
0.15
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Generated scopes for ActiveRecord classes.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
0.09
A long-lived project that still receives updates
Adds various #where_assoc_* methods to ActiveRecord to make it easy to do correct conditions on the associations of the model being queried.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
0.09
No commit activity in last 3 years
No release in over 3 years
Adds the ability to pull random records from ActiveRecord
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
0.07
No commit activity in last 3 years
Build common named scopes automatically, and provide a simple way to merge them with a single #search call.
0.04
No commit activity in last 3 years
No release in over 3 years
Small DSL to create ActiveRecord (>= 3.1) attribute predicates without writing SQL.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
0.03
No commit activity in last 3 years
No release in over 3 years
A collection of utilitarian named scopes providing common functionality for ActiveRecord models.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
0.02
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Build up named scopes conditionally.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
0.0
No commit activity in last 3 years
No release in over 3 years
Scopable allows you to create objects that produce complex queries based on incoming parameters hash which are testable and easy to understand.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
0.0
No release in over 3 years
Returns a random record for Ruby Models using ActiveRecord
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Popularity