Sha256: 1df3e306ccfdb8f258db55db3bbaccbcc9798578de365208590ce9f768a001d1

Contents?: true

Size: 196 Bytes

Versions: 22

Compression:

Stored size: 196 Bytes

Contents

class SpudPostSite < ActiveRecord::Base
  attr_accessible :spud_post_id, :spud_site_id
  belongs_to :spud_post

  def spud_site
    return Spud::Core.site_config_for_id(spud_site_id)
  end
  
end

Version data entries

22 entries across 22 versions & 2 rubygems

Version Path
tb_blog-1.0.4 app/models/spud_post_site.rb
tb_blog-1.0.3 app/models/spud_post_site.rb
spud_blog-0.9.11 app/models/spud_post_site.rb
tb_blog-1.0.2 app/models/spud_post_site.rb
tb_blog-1.0.1 app/models/spud_post_site.rb
tb_blog-1.0 app/models/spud_post_site.rb
spud_blog-0.9.10 app/models/spud_post_site.rb
spud_blog-0.9.9 app/models/spud_post_site.rb
spud_blog-0.9.8 app/models/spud_post_site.rb
spud_blog-0.9.7 app/models/spud_post_site.rb
spud_blog-0.9.5 app/models/spud_post_site.rb
spud_blog-0.9.4 app/models/spud_post_site.rb
spud_blog-0.9.3 app/models/spud_post_site.rb
spud_blog-0.9.2 app/models/spud_post_site.rb
spud_blog-0.9.1 app/models/spud_post_site.rb
spud_blog-0.9.0 app/models/spud_post_site.rb
spud_blog-0.8.18 app/models/spud_post_site.rb
spud_blog-0.8.17 app/models/spud_post_site.rb
spud_blog-0.8.16 app/models/spud_post_site.rb
spud_blog-0.8.15 app/models/spud_post_site.rb