Sha256: af10d97b3a2f98e13f2ef0a1d671a0410bbb0f2ec81e9055869edb39f70a408b
Contents?: true
Size: 253 Bytes
Versions: 2
Compression:
Stored size: 253 Bytes
Contents
class UsersController < ApplicationController def custom_error_message @user = User.new @user.name = "foo" unless params[:plural] @user.lastupdate = "2007-01-01" end @user.valid? @user.lastupdate = "2007-01-01" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gettext-1.92.0 | test/rails/app/controllers/users_controller.rb |
gettext-1.93.0 | test/rails/app/controllers/users_controller.rb |