app/models/article_thread.rb
# modify param_receiver in put.
# self is supposed to be param_receiver
modify param_receiver in put.
self is supposed to be param_receiver
modify param_receiver in put . self is supposed to be param_receiver
def modifier!
    article_assoc = self._assoc_dependant.detect do |assoc| assoc.target_model.name == "Article" end
    new_article_ref = article_assoc.last.to_entity_ref
    new_title   = (new_article_ref.content["title"] || "")
    self.title = new_title
    self
  end
def modifier! article_assoc = self . _assoc_dependant . detect do | assoc | assoc . target_model . name == "Article" end new_article_ref = article_assoc . last . to_entity_ref new_title = ( new_article_ref . content [ "title" ] || "" ) self . title = new_title self end
modify param_receiver in put.
modify param_receiver in put .