Sha256: a97a7015d6a42322c7c69f6ec6e30c487527f965ac72710170b2717d4db47ef9
Contents?: true
Size: 314 Bytes
Versions: 3
Compression:
Stored size: 314 Bytes
Contents
class BootstrapController < ApplicationController def form @collection = [ Address.new(id: 1, street: 'Foo'), Address.new(id: 2, street: 'Bar') ] @user = User.new @user_with_error = User.new @user_with_error.errors.add(:email) @user_with_error.errors.add(:misc) end end
Version data entries
3 entries across 3 versions & 2 rubygems