Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Apr 17th, 2018 55 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. def techniques
  2.     # Find all techniques that have been applied to this plant
  3.     full_list = Technique.find(:all, :params => {:plant_id => self.id})
  4.     techniques = Array.new
  5.     # Match them up with the containing classes in rails
  6.     if (Duval.available?(full_list))
  7.       techniques << "Duval's Triangle"
  8.     end
  9.     return techniques
  10.   end
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