Sha256: af1eae5e58b4feb41a65cc0db4a1acf204d10da7ffa3b3208078e25e8e736093

Contents?: true

Size: 318 Bytes

Versions: 27

Compression:

Stored size: 318 Bytes

Contents

##
# Questo override serve per correggere un problema per cui gli elementi nested non eseguivano correttamente il touch
# agli elementi padre
module Alchemy::Touching

  def touch(*)
    super
    # Using update here, because we want the touch call to bubble up to the page.
    update(touchable_attributes)
  end

end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
alchemy-custom-model-3.2 lib/alchemy/touching_decorator.rb
alchemy-custom-model-3.1.5 lib/alchemy/touching_decorator.rb
alchemy-custom-model-3.1.4 lib/alchemy/touching_decorator.rb
alchemy-custom-model-3.1.3 lib/alchemy/touching_decorator.rb
alchemy-custom-model-3.1.2 lib/alchemy/touching_decorator.rb
alchemy-custom-model-3.1.1 lib/alchemy/touching_decorator.rb
alchemy-custom-model-3.1.0 lib/alchemy/touching_decorator.rb
alchemy-custom-model-2.2.2 lib/alchemy/touching_decorator.rb
alchemy-custom-model-3.0.0 lib/alchemy/touching_decorator.rb
alchemy-custom-model-2.2.1 lib/alchemy/touching_decorator.rb
alchemy-custom-model-2.2.0 lib/alchemy/touching_decorator.rb
alchemy-custom-model-2.1.2 lib/alchemy/touching_decorator.rb
alchemy-custom-model-2.1.1 lib/alchemy/touching_decorator.rb
alchemy-custom-model-2.1.0 lib/alchemy/touching_decorator.rb
alchemy-custom-model-2.0.3 lib/alchemy/touching_decorator.rb
alchemy-custom-model-2.0.2 lib/alchemy/touching_decorator.rb
alchemy-custom-model-2.0.1 lib/alchemy/touching_decorator.rb
alchemy-custom-model-2.0.0 lib/alchemy/touching_decorator.rb
alchemy-custom-model-0.1.9 lib/alchemy/touching_decorator.rb
alchemy-custom-model-0.1.7 lib/alchemy/touching_decorator.rb