These are chat archives for Sammykhaleel/RATAFIRE

29th
Jan 2015
Sammy khaleel
@Sammykhaleel
Jan 29 2015 02:47 UTC
I like it, it's smooth good job!!
I'm still stuck on that thing. hopefully to get it to work tonight :)
Fari Liang
@fariliang
Jan 29 2015 02:55 UTC
Thanks. Let me know if you run into any problem tonight.
Sammy khaleel
@Sammykhaleel
Jan 29 2015 02:58 UTC
Sure i'll.
Sammy khaleel
@Sammykhaleel
Jan 29 2015 04:36 UTC
Ok finally the rails s is running but now i ran in to another error Mysql2::Error: Table 'ratafire_development.activities' doesn't exist: SHOW FULL FIELDS FROM `activities`
Fari Liang
@fariliang
Jan 29 2015 04:43 UTC
It is from public activities gem
Look at their github page for a command to generate the migration for the activities.
Sammy khaleel
@Sammykhaleel
Jan 29 2015 04:44 UTC
Sure thanks
Fari Liang
@fariliang
Jan 29 2015 04:44 UTC
And then after you migrate, delete the migration because the production environment has that column.
I will be expanding the tutorial tonight.
Sammy khaleel
@Sammykhaleel
Jan 29 2015 04:46 UTC
Up and working!!!
yehoo
Fari Liang
@fariliang
Jan 29 2015 04:46 UTC
There are still a lot of not so good use of rails in the code especially how I initially embed javascripts. I have to clean them up later.
Finally!!
Well, getting it to start running is hard.
Sammy khaleel
@Sammykhaleel
Jan 29 2015 04:48 UTC
OK i'm going to create new branch so i can play around to get familiar with the code.
Fari Liang
@fariliang
Jan 29 2015 04:48 UTC
Sure!
Sammy khaleel
@Sammykhaleel
Jan 29 2015 04:54 UTC
This is how i felt when i get mysql to run http://www.topito.com/wp-content/uploads/2013/01/code-08.gif
Fari Liang
@fariliang
Jan 29 2015 04:54 UTC
Hahaha
Sammy khaleel
@Sammykhaleel
Jan 29 2015 04:55 UTC
lol
Sammy khaleel
@Sammykhaleel
Jan 29 2015 05:02 UTC
Do you have Trello?
Fari Liang
@fariliang
Jan 29 2015 05:03 UTC
Yes
Sammy khaleel
@Sammykhaleel
Jan 29 2015 05:03 UTC
Can you invite me sammy khaleel
Fari Liang
@fariliang
Jan 29 2015 05:05 UTC
Can't find you by typing your name. What is your username?
Sammy khaleel
@Sammykhaleel
Jan 29 2015 05:05 UTC
Sammy K
Fari Liang
@fariliang
Jan 29 2015 05:07 UTC
Ok I added you.
Sammy khaleel
@Sammykhaleel
Jan 29 2015 05:08 UTC
Nice thanks
Sammy khaleel
@Sammykhaleel
Jan 29 2015 17:06 UTC
About the site tour I'd like to share with few links limme know what do you think
See you this afternoon.
Sammy khaleel
@Sammykhaleel
Jan 29 2015 17:18 UTC
I didn't know we are meeting today, limme see if i can make it.
Fari Liang
@fariliang
Jan 29 2015 17:23 UTC
It will be two of us to meet anyways, for we still have to find a marketing person.
We have to decide how to actually work on the same repository.
Fari Liang
@fariliang
Jan 29 2015 18:31 UTC
The current CSS is a bit in a mess, so I made the current file fari.css.scss . When you add new styles, add them in a new file such as sammy.css.scss .
Sammy khaleel
@Sammykhaleel
Jan 29 2015 18:53 UTC
That's make sense, what are you working on?
Fari Liang
@fariliang
Jan 29 2015 18:58 UTC
Currently finishing the tutorial I showed you last night.
Sammy khaleel
@Sammykhaleel
Jan 29 2015 19:10 UTC
I noticed we are using ruby1.9.3
Fari Liang
@fariliang
Jan 29 2015 19:13 UTC
Yes...
I hope the Amazon S3 has fixed the bug of ruby 2.0 timeout.
It was the only reason why we are using 1.9.3
Sammy khaleel
@Sammykhaleel
Jan 29 2015 19:14 UTC
Oh ok
Sammy khaleel
@Sammykhaleel
Jan 29 2015 19:22 UTC
I pulled the last changes from master and i couldn't run the server so i had to install ruby 1.9.3 and when i do bundle it givs me this error There was a LoadError while loading amazon_flex_pay.gemspec:
Fari Liang
@fariliang
Jan 29 2015 19:23 UTC
Did you use rvm to use 1.9.3?
You have to set it as the ruby version, you can change the ruby version back to 2.0 when needed as well.
And then if the problem still persist... For that amazon_flex_pay.gem error shows up in production as well.
The way around it is to change the line in gemfile from gem 'amazon_flex_pay', github: 'ratafire/amazon_flex_pay' to gem 'amazon_flex_pay', bundle again, turn on the server then changes it back to gem 'amazon_flex_pay', github: 'ratafire/amazon_flex_pay'...
Sammy khaleel
@Sammykhaleel
Jan 29 2015 19:26 UTC
Yes i did but i can't do bundle
Fari Liang
@fariliang
Jan 29 2015 19:26 UTC
That was how I get the production environment running. I have no idea why the ratafire version of the gem will cause this issue.
Sammy khaleel
@Sammykhaleel
Jan 29 2015 19:28 UTC
But everything was working fine yesterday and this afternoon i was even using 2.1.5 ruby
Fari Liang
@fariliang
Jan 29 2015 19:28 UTC
Really?
Then maybe you can use 2.1.5 locally.
Sammy khaleel
@Sammykhaleel
Jan 29 2015 19:29 UTC
yeah
Fari Liang
@fariliang
Jan 29 2015 19:29 UTC
On the server it is still 1.9.3
Because of that Amazon S3 upload problem...
One day we need to check if they have fixed the bug.
Sammy khaleel
@Sammykhaleel
Jan 29 2015 19:29 UTC
oh no now i cant idk why
Fari Liang
@fariliang
Jan 29 2015 19:29 UTC
If you use Ruby 2.0 to upload a file, it will show as timeout.
Sammy khaleel
@Sammykhaleel
Jan 29 2015 19:30 UTC
Ok hopefully this will work waiting for the bundle to finish
It's working again
Fari Liang
@fariliang
Jan 29 2015 19:33 UTC
Ok, this is strange.
Sammy khaleel
@Sammykhaleel
Jan 29 2015 19:34 UTC
it is, right after i pulled from master
Fari Liang
@fariliang
Jan 29 2015 19:35 UTC
Ok.
Sammy khaleel
@Sammykhaleel
Jan 29 2015 19:36 UTC
Oh wait now i set the gem file to gem 'amazon_flex_pay', github: 'ratafire/amazon_flex_pay' and it stop workin again
Fari Liang
@fariliang
Jan 29 2015 19:36 UTC
...
In the amazon_flex_pay, I have only made one change, which is adding a method to setup recurring recipient.
Sammy khaleel
@Sammykhaleel
Jan 29 2015 19:37 UTC
I did bundle install its working now, hahah
Fari Liang
@fariliang
Jan 29 2015 19:37 UTC
We use that to connect to Amazon Payments.
Ok
There are a lot of things to do before we can push the new version of Ratafire. So you see the new rules I added to the homepage? The one with finding 10 subscribers in 30 days and add a discussion.
That part is still not written into the site.
We need to get a new step by step guide for people to setup subscription as well. In the beginning of this week, I barely get the discussion function going, but it will still need 1 day to fine tune.
Sammy khaleel
@Sammykhaleel
Jan 29 2015 19:41 UTC
Agree
How cold is it out side
I've stayed home all day.
Fari Liang
@fariliang
Jan 29 2015 19:45 UTC
Just stay at home. I wasn't outside as well. It is not as cold as the snow days.
Sammy khaleel
@Sammykhaleel
Jan 29 2015 19:46 UTC
What are you doing tomorrow? wanna meet in coffee.
Fari Liang
@fariliang
Jan 29 2015 19:47 UTC
Sure, how about 2pm in the afternoon?
Sammy khaleel
@Sammykhaleel
Jan 29 2015 19:48 UTC
Should work
Fari Liang
@fariliang
Jan 29 2015 19:48 UTC
What do you plan to do today?
Sammy khaleel
@Sammykhaleel
Jan 29 2015 19:48 UTC
Hmm , IDK yet
Fari Liang
@fariliang
Jan 29 2015 19:49 UTC
The only thing I can think of that you do in parallel now is to add http://zurb.com/playground/jquery-joyride-feature-tour-plugin to the profile page.
Sammy khaleel
@Sammykhaleel
Jan 29 2015 19:50 UTC
You mean the tutorial profile page?
Sure
Fari Liang
@fariliang
Jan 29 2015 19:50 UTC
Yes.
It is currently controlled by tutorial.rb when a user signs up, he will get a user.tutorial and then the profile_tutorial is NULL
Each step he goes though, the tutorial moves forward. However, the current system can't prevent people from getting to step 2 without completing step 3, so I think we can make it so that if someone didn't complete step 2, it won't go to step 3.
Sammy khaleel
@Sammykhaleel
Jan 29 2015 19:53 UTC
So if i take off the null i can see the tutorial every time?
Fari Liang
@fariliang
Jan 29 2015 19:54 UTC
If you set it to NULL you will see the tutorial. The intro tutorial page is controlled by tutorial.intro
if you put tutorial.intro to 1, it won't show up.
I am thinking that when people signed up, we take them to intro, and then when they are out of intro, they will get to the profile page.
When they are at the profile page, we guide them through completing the profile by that user.profile_tutorial
sorry, user.tutorial.profile_tutoril
Sammy khaleel
@Sammykhaleel
Jan 29 2015 19:55 UTC
I need to make show the tutorial every time for the purpose of the test
Fari Liang
@fariliang
Jan 29 2015 19:55 UTC
Do you have Sequel Pro?
Sammy khaleel
@Sammykhaleel
Jan 29 2015 19:56 UTC
oh no
Fari Liang
@fariliang
Jan 29 2015 19:56 UTC
You can use it to manage MySql very easily. You can use it to change things back to null
Then you don't have to do it in the rails console.
Set it up first, for did you use root as the user for your local mysql?
For the user.tutorial.profile_tutorial I still want to keep the fire sign because our park pianist Colin liked how he can follow the fire sign through the story! You can watch it by setting your user.tutorial.profile_tutorial to null and setting user.tutorial.intro to 1 to get out of that intro.
Fari Liang
@fariliang
Jan 29 2015 21:58 UTC
I have done the full version of the intro, you can see it when you log into the site or click Tutorial. Tonight I will complete the discussions system.
Sammy khaleel
@Sammykhaleel
Jan 29 2015 22:46 UTC
Nice ill check it out later tonight