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
email_reminders.rake | |
namespace :email_reminders do | |
desc "reminds the user to complete their profile" | |
task :founder_welcome => :environment do | |
if Rails.env == "production" | |
if @user.profile.present? | |
ConfirmMailer.founder_welcome(@user).deliver | |
end | |
end |
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
Error: https://www.dropbox.com/s/r3n2dfit5i3hg9e/Screenshot%202014-05-18%2019.47.07.png | |
production.rb | |
Domimvp::Application.configure do | |
# Settings specified here will take precedence over those in config/application.rb. | |
# Code is not reloaded between requests. | |
config.cache_classes = true | |
config.eager_load = true | |
config.consider_all_requests_local = false |
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
The players are Devise, Devise Confirmable, and Omniauth Facebook. The issues is hand is that either when I sign up with email or Facebook, the user is not being confirmed in the database and is essentially locked out of the application. | |
I have provided a series or screenshots to show the issues and will also show the code. | |
Home page | |
https://www.dropbox.com/s/u93zkqdq7l8q5a1/Screenshot%202014-05-16%2015.24.57.png | |
Signing up with Facebook | |
https://www.dropbox.com/s/yb7yf1cuzhcnfld/Screenshot%202014-05-16%2015.27.07.png |
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
<div class="row"> | |
<div class="col-md-6"> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="viewport" content="initial-scale=1.0, user-scalable=no"> | |
<meta charset="utf-8"> | |
<style> | |
html, body, #map-canvas { | |
height: 600px; |
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
invite_mailer.rb | |
class InviteMailer < ActionMailer::Base | |
default from: "[email protected]" | |
def invite_notification(invite, email) | |
@invite = invite | |
@property = @invite.property | |
@url = invite_url(@invite) | |
mail(to: @invite.email, subject: "You've been added as a roommate!") | |
end |
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
property.rb | |
class Property < ActiveRecord::Base | |
before_create :generate_token | |
validates :total_bedrooms, presence: true | |
validates :total_bedrooms, numericality: true | |
validates :total_bathrooms, presence: true | |
validates :total_bathrooms, numericality: true | |
validates :address, presence: true |
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
<script type="text/javascript"> | |
navigator.geolocation.getCurrentPosition(GetLocation); | |
function GetLocation(location) { | |
alert(location.coords.latitude); | |
alert(location.coords.longitude); | |
alert(location.coords.accuracy); | |
} | |
</script> | |
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
Issues | |
- Invite friends via facebook | |
Todos | |
- Test suite | |
_ Email for IOS and Rails people | |
- Get a freelance photographer | |
- New demo video | |
- How to videos for doing a specific action |
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
Clean up: | |
- share buttons and links | |
- Home page button | |
- overall issues | |
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
# Twilio_Phone_Number_Table | |
# id number active(boolean) | |
# 1 423-123-1233 0 | |
# 2 423-123-1233 1 | |
# Listing Table (has many appointments) | |
# lister_id status | |
# Appointment Table |
NewerOlder