Sha256: 6dbe0c912c8b70250dce500bfd68093457b17a9d53724a8c5a83bcdc069e2cc9

Contents?: true

Size: 300 Bytes

Versions: 15

Compression:

Stored size: 300 Bytes

Contents

# -*- encoding : utf-8 -*-
# not needed here, since this is only used in the views InlineForms::SPECIAL_COLUMN_TYPES[:info]=:string

def info_show(object, attribute)
  object.send attribute.to_sym
end

def info_edit(object, attribute)
  object[attribute]
end

def info_update(object, attribute)
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
inline_forms-1.4.2 lib/app/helpers/form_elements/info.rb
inline_forms-1.4.1 lib/app/helpers/form_elements/info.rb
inline_forms-1.4.0 lib/app/helpers/form_elements/info.rb
inline_forms-1.3.49 lib/app/helpers/form_elements/info.rb
inline_forms-1.3.48 lib/app/helpers/form_elements/info.rb
inline_forms-1.3.47 lib/app/helpers/form_elements/info.rb
inline_forms-1.3.45 lib/app/helpers/form_elements/info.rb
inline_forms-1.3.44 lib/app/helpers/form_elements/info.rb
inline_forms-1.3.43 lib/app/helpers/form_elements/info.rb
inline_forms-1.3.42 lib/app/helpers/form_elements/info.rb
inline_forms-1.3.41 lib/app/helpers/form_elements/info.rb
inline_forms-1.3.40 lib/app/helpers/form_elements/info.rb
inline_forms-1.3.39 lib/app/helpers/form_elements/info.rb
inline_forms-1.3.38 lib/app/helpers/form_elements/info.rb
inline_forms-1.3.37 lib/app/helpers/form_elements/info.rb