Sha256: e3d8dee4d57df5c375bd6a17e20fe0fc023fedb8f333cecf90315ba118c37761

Contents?: true

Size: 217 Bytes

Versions: 2

Compression:

Stored size: 217 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?
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gettext-1.90.0 test/rails/app/controllers/users_controller.rb
gettext-1.91.0 test/rails/app/controllers/users_controller.rb