beforeupdate Questions
3
Solved
I am trying to test the before_update callback of the model bellow.
models/option.rb:
class Option < ApplicationRecord
belongs_to :activity
has_many :suboptions, class_name: "Option", forei...
Gradate asked 11/1, 2017 at 4:42
3
Solved
In my model Shop I'm saving image url in logo_ori and use that to make thumbnails using before_update.
# shop.rb
before_update :run_blitline_job
private
def run_blitline_job
# uses logo_ori to ...
Geraint asked 29/12, 2012 at 5:36
5
Solved
I come from the VBA world, and remember there was a BeforeUpdate call I could make on a combobox. Now I am in C# (and loving it) and I was wondering is there a BeforeUpdate call for a ComboBox on a...
Adown asked 8/1, 2009 at 17:56
1
© 2022 - 2024 — McMap. All rights reserved.