`default_scope` should accept block instead of lambda

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • 5.1.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      default_scope should accept block like in ActiveRecord. Lambda is unneded as default_scope block cannot have any arguments anyway.

            Assignee:
            Unassigned
            Reporter:
            hauleth
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: