Sha256: c16135d13c100702e0e80744f708d3c4a7f8e402d13d866ad428b6a07c603446

Contents?: true

Size: 351 Bytes

Versions: 1

Compression:

Stored size: 351 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

  def distance_of_time_in_words
  end

  def foo
  end
  private :foo
  before_init_gettext :foo
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gettext_rails-2.0.0 test/app/controllers/users_controller.rb