bloc referral

If you are interested in learning to code with a mentor, try bloc and get $100 off.
Showing posts with label ROR. Show all posts
Showing posts with label ROR. Show all posts

Tuesday, February 25, 2014

Lots of Ruby Workbooks and Strong Params w/Rails 4

So in addition to working on my Chuych app I have completed some additional Ruby work. In the last week I have completed 8 chapters of Chris Pines Learn to Program and all of Ruby Monk (Primer).

After those two things I find that I need more and more practice in Ruby (Not Rails). I have no trouble building a web app and googling how to do things I do not know how, but one of the downfalls of learning as quickly as I have done is that I still do not understand the most basic ideas in programming.

For example: I got stumped on a while loop question. I planned to do some live coding with Ruby Newbies. To explain some questions I got stumped on. Hopefully teaching will help ingrain it in my mind.

Rails 4:

So Chuych is actually my first rails 4 app since One Month Rails. I never got a chance to go back to OMR after creating ilikerobot.com but have used it frequently when reference thing like jQuery Masonry.

I spent a lot of time trying to figure out why my Rspec test were failing and found out about Whitelisting in rails 4. Basically attr_accessible is not the best way to white list params, so the Rails crew added params to the controller and removed them from the Models.

I missed out on the memo but it explained in great detail in my meeting Adam.

My goal was to completely implement create Churches and associating them with Users, but fell short of the association. This weeks goal is to completely implement Users, Churches, Post. In addition I will be implementing a Geolocation Gem, as well as a Landing (sign up page) using some front end.

Thursday, February 13, 2014

RuningOutOfTime:Error

I did not expect to take this long on my current app but I also did not expect to be so busy with my day job...Another reason why I am pushing to get an apprenticeship. Costa Rica really put a real delay in my learning rails. I have also been given more responsibility and task to complete within my position and it has caused me to work longer during the day and at home...

My hope is to start an apprenticeship by April and anxiously waiting on their responses. I look forward to the day where I can focus on program during the day rather than late nights and early mornings.

My current error involves the connection between Griddler and Cloudmailin... I am trying to create a Bookmark from an email. This app has introduced few new elements and they have all thrown me for a loop, which is good.

I am trying to figure out how to parse the data from the email into the bookmarks table. Sounds easy in my head but I am stuck on the syntax and ambiguous gem file docs. With my work schedule, I have also not had much contact with my mentor to really discuss. I have a message out to him on this and eagerly wait on the solution.

1. Griddler Gem
2. Cloumailin
3. Devise like user Authentication without the use of gem.
4. Embedly Gem

I hope to have this complete this weekend and have 3 weeks to complete my capstone project. I did want to attempt the Blocapedia app project, but will have access to the instructions post Bloc and can complete it then. I have a strong desire to complete my capstone and it will have some Blocapedia functionality anyway.

Now, Back to focusing on the app. Monday marks only 3 weeks left of Bloc, sad and excited at the same time.

Monday, February 10, 2014

Bundler::GemfileNotFound

I saw this error while working on the airplane last week, I found the following Stack Overflow question. 

Bundler::GemfileNotFound

My first thought was that I messed something up in my gem file, but a quick search shows that you need to install bundler gem.

install rubygems-bundler
This is confusing since I my app was created using "rails new"

I scrolled down further and found an answer stating the following: "cd into a directory that has a Gemfile"

I was not in the correct folder and I did the same thing this morning. Since I had o look this up twice I thought I would share on my blog in case someone else has the same issue. 

The actual answer was voted 51 times, but was not at the top of the page. Prior to this SO question I would juts look for the first answer but now I will be scrolling down to read all the answers. I realize the right answer might not always be the first. 






Friday, January 24, 2014

Task Off - App #3

The heroku page for Task Off is Taskoff.herokuapp.com - Please try it out. The concept did come from Bloc and not something I will be purusuing further, So feel free to fork it and have fun.

The code is on my Github and here is the Gist I started this from. I will be starting Block Marks tomorrow morning and excited to implement different concepts.

Wednesday, December 11, 2013

First Rails App is Live and Ready To Go

I have finally figured out how to implement comments (sort of) on to my app, which was the reason for the delay in sharing with my friends. I later found out it was an error in my code, I am on Rails 4 and the code attr_accessor with my comment.rb does not work in 4.

Post comments in disqus










I originally wanted to add native comments that live within the app, but I had a lot of trouble implementing them properly, so I just went with Disqus.

Disqus is great platform and actually very easy to implement the Javasrcipt. Just paste the code and you are good.

If you get a chance please check out my app and post a picture. bit.ly/robotapp1

Friday, December 6, 2013

Just a little bit of encouragement before Bloc.io

*If you are interested in joining Bloc, use my link to receive $100 bucks off. Bloc Referral

I have been frequently checking Facebook and Google Plus Ruby Groups for jobs and general tips. Although a lot of it is still absolutely Greek to me I enjoy trying to figure out what people are talking about. I recently saw an individual post his Git to the facebook group and noticed that he was in Bloc. I quickly messaged him and to my surprise he was helpful and offered a good amount of encouraging info, especially with me starting Bloc in 2 weeks!

I am very happy with the Ruby Community and pleased with their willingness to help new students.

*I changed his name to Bill to protect his identity.

  • Conversation started Thursday
  • Brian Douglas
    Brian Douglas

    I don't blow up the comments on your post, but do you have any advice for someone starting in in 2 weeks. I am nervous to start and want to do well.
    Who is you mentor? I am paired with the Adam guy.

  • 12/5, 4:39pm
    Bill

    Hey Brian, no worries
    My mentor is Aaron
    Aaron Brongersma
    I would just say that you need to pace yourself
    make sure you schedule out at least 2-3 hours a night Monday-Friday
    do you have any programming experience?
  • Brian Douglas
    12/5, 4:42pm
    Brian Douglas

    I have done the tutorials and self taught with HTML,css, basic stuff though. Never really did anything with it. I have done all the pre reqs as well a codecademy. I guess no official experience
    Or professional rather

  • 12/5, 4:43pm
    Bill

    ok
    well they start you out with the basics but if there are areas you're not sure about take your time
    ask questions
    the mentors make themselves very available and aren't condescending
    you also have access, almost 24-7, to a live chat area called Office Hours
  • Brian Douglas
    12/5, 4:44pm
    Brian Douglas

    That's awesome.

  • 12/5, 4:44pm
    Bill

    a lot of people try to breeze through the first few weeks of checkpoints
    so they can get to the project challenges and the capstone project
    don't do that
    take your time to make sure you understand everything
    do some extra reading on the side too
    ask your mentor to recommend additional books and tuts
  • Brian Douglas
    12/5, 4:46pm
    Brian Douglas

    Awesome thanks. Are you planning getting career in development or starting a project. Do you feel well equipped

  • 12/5, 4:46pm
    Bill

    this is the Ruby bible http://it-ebooks.info/book/59/
    I'm already a freelancer
    I've been doing PHP, HTML and some basic jQuery
    for close to 7 years now
    but wanted to learn Ruby and needed someone to kick my butt
  • Brian Douglas
    12/5, 4:47pm
    Brian Douglas

    Cool, I hope to get into freelancing after the program

  • 12/5, 4:47pm
    Bill

    I've done a lot of self study
    and have a Bachelor in Web Design & Development from Full Sail University
    honestly I wish I would have never done that degree and went straight to Bloc
    you could definitely do it
    a lot of grads from Bloc do
  • Brian Douglas
    12/5, 4:48pm
    Brian Douglas

    Wow, did you go to the Orlando full sail?

  • 12/5, 4:49pm
    Bill

    nice
    yeah,
    but when I started they still were teaching Flash and ActionScript
    they didn't change their curriculum until Jan 2011
    I only got 1 class in PHP
    1 class in MySQL
  • Brian Douglas
    12/5, 4:50pm
    Brian Douglas

    Well good thing you didn't take that flash class

  • 12/5, 4:50pm
    Bill
    they made me take the Flash class
    I took 6 months of Flash & ActionScript
    a waste of time
    totally outdated
    not even Adobe supports Flash for mobile
    I don't want to get on my soapbox
    lol
    point is
  • and 2 classes in JavaScript
  • Brian Douglas
    12/5, 4:50pm
    Brian Douglas

    Oh, that's to bad. I actually considered going back to school but found Bloc

  • 12/5, 4:50pm
    Bill

    ehhh
    don't
    you don't need it
    do Bloc
  • Brian Douglas
    12/5, 4:51pm
    Brian Douglas

    Thanks for the info
    I lam looking forward to it

  • 12/5, 4:51pm
    Bill

    Codecademy for JavaScript
    JavaScript is very important for web application development now
    and just websites in general
    glad I could share
    good luck man
  • Brian Douglas
    12/5, 4:52pm
    Brian Douglas

    Thanks

  • 12/5, 4:53pm
    Bill 

    my pleasure
    take care
    if you need anything let me know
  • Brian Douglas
    12/5, 4:53pm
    Brian Douglas

    I appreciate that, I will

  • 12/5, 4:54pm
    Bill

Thanks for reading. If you are interested in joining Bloc, use my link to receive $100 bucks off. Bloc Referral

Monday, December 2, 2013

Update: Currently Working OMR

I am currently working on the One Month Rails project which has given me a little bit of trouble. Luckily I was able to Google all the issues except one. I 'm having trouble with my CSS style-sheets not updating. I think I have it figured out though, the only things is I have to wait 8 hours until I get home from work to update it.

Overall I am still enjoying this journey and looking forward to the start of my mentorship on December 16th. I have in the meantime I joined a couple Ruby groups on Google Plus and Facebook. The information in the group looks promising and I look forward to meeting like minded people via social networking.
onemonthrails by mattan griffel

Friday, November 22, 2013

@OneMonthRails: Just Signed up

So I have learn a lot of Ruby but haven't made a thing still :( I had the pleasure of meeting a Web Developer at the meetup last night (@thedevme) who recommended I complete the One Month Rails course. He even graciously provided a coupon code for me to get started at $25 off, and I am looking forward to getting started tonight after work.

I mentioned OMR in my previous post, but feel free to check out the site. If you are interested let me know, I can get $25 bucks off the course fee.

*Side note: The team at OMR is top notch, Not only did I get a tweet shout within a few hours of signing up, but I also got an email Mattas Griffel himself asking if I got set up ok. That is some great service.


Thursday, November 7, 2013

First Post: I will learn to code

Day 21:

I can say I am not new to blogging because I have started quite a few blogs in the past but have failed to follow through, hopefully this will not end with the same fate. I am in no means a writer but hope to follow through on this blog.

The last few months have been very busy, My son was born 2 months early, My wife and I spent 70 days in the hospital with our pre-mature child. While waiting for him to grow and develop we missed many days of work and stopped all our obligations for teaching music lesson and volunteering at church. Because of this I had a lot of free time to give thought and ponder about my life. During that pondering, I decided I will be taking the plunge into coding, specifically Ruby on Rails. I have too many ideas just sitting in my head and need a way out.

My Goal:
My goal for this blog is to document my journey into coding. During my research, I found there is not a large community Ruby community in the Tampa Bay area, but there is a high demand for them in the industry. Also just like many other industries there not many minority coders; my hope will be to inspire other minorities to join me in this journey.

What inspired me?:
I was a big "Google Reader"user prior to the shut down not too long ago and still spend a lot of time following blog and news on the web. A few weeks back I read an article of how a 23 year old Manhattan based programmer approach a homeless man, Leo, and offered him $100 or the opportunity to teach him to code so he could build a career. Leo chose coding and  in a matter of only 4 weeks he built his first app prototype.

Business Insider Article - The Homeless Coder

My thought immediately went to, "If Leo can Javascript in 4 weeks while living in a city park, then I can for sure learn Ruby on Rails in the comfort of my own while working full time and raising a new baby. Nothing is holding back.

The Plan: Go Big or Stay Home
I first started Computer Science For Everyone but only got halfway before deciding Ruby would be my language. I have postponed that but highly recommend it for your basic computer info. I had previous experience in HTML and Visual Basic in high school, but that was so long ago that CSFE helped me get a great foundation.

I am now focusing on rails exclusively and after Twitter stalking Rubyist on Twitter I will be attending my first Meetup within the next few weeks. Even though I have only completed two ruby course and haven't even completed my first app I want to meet actual coders and pick their brains in person and for free. Stand by for updates on that on twitter @brianllamar

The resources I will use

One Month Rails - Great no frills course from Mattan Griffel. He definitely leaves out the fluff and gets right to the point with making your first app.

How to teach yourself to code - Great video by Mattan Griffel explaining how he taught himself to code in one month

DHH Video - David Heinemeir Hansson is credited for creating rails. This is an interview of explaining what it is.

TryRuby.org - This is the first course I actually completed. Should of only taken 15mins, but it took me 4hours. In my defense, I was doing it in the background while working on other stuff. 

Rails for Zombies - The second course I completed, created by CodeSchool

Udemy - This is a great online resource to pace yourself to learn code. There is also Learnsteet, Codecademy, and Udacity. These are all free options

I hope to complete all these courses and more by May, which would make 6 months work towards one goal. By then I might have a fully functional app or I might. I guess we will have to see.