RubyGems Navigation menu

where_chain 0.6.0

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:
= In die Zwischenablage kopieren Kopiert!

installieren:
=

Versionen:

  1. 0.6.0 - June 04, 2024 (9 KB)
  2. 0.5.0 - February 17, 2023 (9 KB)
  3. 0.4.0 - January 07, 2021 (9 KB)
  4. 0.3.1 - June 25, 2020 (9 KB)
  5. 0.3 - October 01, 2019 (9 KB)
Zeige alle Versionen (11 total)

Runtime Abhängigkeiten (1):

activerecord >= 4.2

Development Abhängigkeiten (8):

Besitzer:

Pushed by:

Autoren:

  • Marcin Ruszkiewicz

SHA 256-Prüfsumme:

03afe7d37e39757c02cf10d3c279eb3ac79abd3d5045179ea59bebd647681458

Downloads insgesamt 25.601

Für diese Version 144

Lizenz:

MIT

Erforderliche Ruby-Version: >= 0

Links: