This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'spec_helper' | |
describe UserPasswordResetsController do | |
describe 'POST #create' do | |
before(:each) do | |
@user = create(:user, customer_id: 1, email: '[email protected]') | |
end | |
let(:make_valid_request) { post :create, { email: '[email protected]' } } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NoMethodError in Devices#locations | |
Showing /home/russellpruitt/projects/inventory/app/views/devices/locations.html.erb where line #3 raised: | |
undefined method `device' for #<ActiveRecord::Relation:0xa6d4fd4> | |
Extracted source (around line #3): | |
1: <h1>Devices for: <%= @location.location_name %></h1> | |
2: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.*; | |
//------------------------------------------------------------------ | |
// Program by: Sam Fader and Bell Lopez | |
// The purpose of this program is to determine if processes are | |
// deadlocked or not. | |
// We pledge that this work is ours. | |
//------------------------------------------------------------------- | |
public class Deadlock { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@event = Event.new(@work_appointment) | |
Rails.logger.debug { " - - @event " + @event.to_json } | |
outputs : @event {"appt_id":7,"start":"2011-11-28T09:30:00Z","end":"2011-11-28T10:30:00Z"} | |
format.js { render :template => "admin/work_appointments/update" } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
callme( | |
test( | |
morefunctions({ | |
"param" : 1, | |
"param2" : 2 | |
}) | |
) | |
) |