Created
May 27, 2016 20:08
-
-
Save aya-soft/c7ce120aeec2ed8806f6ff4211458d47 to your computer and use it in GitHub Desktop.
1) Зачем вводить лишнюю переменную @Spare, если есть @comment.spare?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def edit | |
@comment = ServiceStationComment.find(params[:id]) | |
@spare = @comment.spare | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment