RubyGems Navigation menu

where_chain 0.3

This is a Rails plugin that extends Active Record with additional methods: .like, .unlike, .gt, .gte, .lt and .lte, so that you can replace the SQL strings like Post.where('comments > 5') with Post.where.gt(comments: 5)

Gemfile:
= Copy to clipboard Copied!

instalar:
=

Versões:

  1. 0.5.0 - February 17, 2023 (9 KB)
  2. 0.4.0 - January 07, 2021 (9 KB)
  3. 0.3.1 - June 25, 2020 (9 KB)
  4. 0.3 - October 01, 2019 (9 KB)
  5. 0.2.5 - September 23, 2019 (9 KB)
Mostrar todas as versões (10)

Runtime Dependencies (1):

activerecord >= 4.2

Development Dependencies (8):

Donos:

Pushed by:

Autores:

  • Marcin Ruszkiewicz

SHA 256 checksum:

6d0c57cb7b1200316b87cfc07e046577ba4b46ffc2172fd1098047758ff8b781

Total de downloads 25.191

Desta versão 4.131

Licença:

MIT

Versão Requerida do Ruby: >= 0

Links: