“Now you can cache files by assigning them to the attribute, they will automatically be stored when the record is saved. u = User.new u.avatar = params[:file] # Assign a file like this, or”
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Re...
“Now you can cache files by assigning them to the attribute, they will automatically be stored when the record is saved. u = User.new u.avatar = params[:file] # Assign a file like this, or”
kent-where-the-light-is のブックマーク 2017/01/19 16:18
このブックマークにはスターがありません。
最初のスターをつけてみよう!
GitHub - carrierwaveuploader/carrierwave: Classier solution for file uploads for Rails, Sinatra and other Ruby web frameworks
github.com/carrierwaveuploader2010/05/15
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Re...
60 人がブックマーク・13 件のコメント
\ コメントが サクサク読める アプリです /