development環境のみで動くソースを記述する方法は? Rails * development * test * production development mileszs/wicked_pdf `show_as_html: params.key?('debug')` development Gemfile group :development do end group :development, :test do end > undefined method `group' for
if Rails.env == "development"
#hogehoge
end
xcX3v84RxoQ-4GxG32940ukFUIEgYdPy
3c96f2c3086e88cf0eaa188d2a366eac
Stop