daily pastebin goal
53%
SHARE
TWEET

Untitled

a guest Mar 13th, 2018 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @article.save!
  2. @related_articles = @article.outgoing_relations
  3. @related_articles.each {|related_article|
  4.    related_article.incoming_relations.should include(@article)
  5. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top