OSDN Git Service
(root)
/
pettanr
/
pettanr.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge branch 'v03_test' of git.sourceforge.jp:/gitroot/pettanr/pettanr into v03_test
[pettanr/pettanr.git]
/
app
/
models
/
balloon.rb
1
class Balloon < ActiveRecord::Base
2
has_many :speeches
3
belongs_to :panel
4
belongs_to :system_picture
5
accepts_nested_attributes_for :speeches
6
7
def url
8
'/system_pictures/' + self.system_picture.filename
9
end
10
11
end