Module: Faalis::Generators::Concerns::Bulk

Included in:
DashboardScaffold
Defined in:
lib/faalis/generators/concerns/bulk.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) bulk_edit_fields (private)

Returns fields which is needed to be in bulk edit



9
10
11
# File 'lib/faalis/generators/concerns/bulk.rb', line 9

def bulk_edit_fields
  fields_with("bulk", true)
end

- (Boolean) no_bulk? (private)

Returns:

  • (Boolean)


13
14
15
# File 'lib/faalis/generators/concerns/bulk.rb', line 13

def no_bulk?
  resource_data.include?('no_bulk') &&  resource_data['no_bulk']
end