app/models/taxon.rb
# Sometimes you don't want to make a new taxon name with a taxon, like when
# you're saving a new taxon name with a new associated taxon. Hence, this.
Sometimes you don't want to make a new taxon name with a taxon, like when
you're saving a new taxon name with a new associated taxon. Hence, this.
Sometimes you don ' t want to make a new taxon name with a taxon like when you ' re saving a new taxon name with a new associated taxon . Hence this .
def observation_photos(options = {})
    options = {:page => 1}.merge(options).merge(
      :include => {:observations => :taxon},
      :conditions => ["taxa.id = ?", id]
    )
    Photo.paginate(options)
  end
def observation_photos ( options = { } ) options = { :page => 1 } . merge ( options ) . merge ( :include => { :observations => :taxon } , :conditions => [ "taxa.id = ?" , id ] ) Photo . paginate ( options ) end
Sometimes you don't want to make a new taxon name with a taxon, like when
you're saving a new taxon name with a new associated taxon.
Sometimes you don ' t want to make a new taxon name with a taxon like when you ' re saving a new taxon name with a new associated taxon .
options