This file contains 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
#Supporting Sponsors | |
Adamantium | |
1 New Relic @newrelic | |
Gold Sponsors | |
0 CrowdCompass @CrowdCompass | |
0 Esri @Esri | |
0 Goldstar @goldstar | |
0 LivingSocial @LivingSocial |
This file contains 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
= bootstrap_form_for @user do |f| | |
= f.fields_for :preferences do |builder| | |
= builder.text_field :favorite_color | |
= builder.text_field :favorite_animal |
This file contains 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
gem 'faker' | |
require 'faker' | |
# Clean out what is there | |
Event.delete_all | |
# Makes a bunch of different types of events per day at a random time during work hours | |
(30.days.ago.to_date..90.days.from_now.to_date).each do |date| | |
rand(3).times do | |
start = date.beginning_of_day + 8.hours + (rand(32) * 15).minutes | |
Appointment.create :creator => User.find(:first, :order => 'rand()'), |