Sha256: 517533fab538e478388331de708ad6fd5bc90009cbc26b1063aeeb72ae4c4549
Contents?: true
Size: 309 Bytes
Versions: 36
Compression:
Stored size: 309 Bytes
Contents
class UserController < ApplicationController def manipulation email = "rand#{rand(10000)}@foo.com" user = User.create!(:email => email, :password => 'wow') foo = User.find_by_email(email) foo.password = 'new password' foo.save foo.destroy render :nothing => true end end
Version data entries
36 entries across 36 versions & 2 rubygems