Test
Ruby
code posted
by
123
created at 11 Jul 06:57, updated at 11 Jul 06:58
Edit
|
Back
1
2
3
4
5 |
def edit
@book = Book.find(params[:id])
@publisher = Publisher.find(@book.publisher.id) unless @book.publisher.blank?
@authors = @book.authors
end |
162 Bytes in 2 ms with coderay