Sha256: d2b739c583a793d1718958440aa1fad678a867bc6498ad1f5efb884d15c623c7

Contents?: true

Size: 358 Bytes

Versions: 8

Compression:

Stored size: 358 Bytes

Contents

module Faalis
  module Generators
    module Concerns
      module Bulk

        private

        # Returns fields which is needed to be in bulk edit
        def bulk_edit_fields
          fields_with("bulk", true)
        end

        def no_bulk?
          return true unless bulk_edit_fields.empty?
          false
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
faalis-1.0.0.alpha1 lib/faalis/generators/concerns/bulk.rb
faalis-1.0.0.alpha0 lib/faalis/generators/concerns/bulk.rb
faalis-0.26.3 lib/faalis/generators/concerns/bulk.rb
faalis-0.26.2 lib/faalis/generators/concerns/bulk.rb
faalis-0.26.1 lib/faalis/generators/concerns/bulk.rb
faalis-0.26.0 lib/faalis/generators/concerns/bulk.rb
faalis-0.25.1 lib/faalis/generators/concerns/bulk.rb
faalis-0.25.0 lib/faalis/generators/concerns/bulk.rb