Brainstorming a list of Rails Quiz Questions for a Junior RoR Developer

Which files are created by the rails plugin new foo generator (assuming you haven’t patched the generator), and what do they do? README.rdoc – Where you put documentation Rakefile – Creates standard rake tasks for the gem. rdoc, and test. foo.gemspec – Standard gemspec doc to load in lib/foo, the version file, declares Spec data … Read more

Interesting article about getting rid of nested attributes Still figuring out how I feel about this…

Rails snippet: Storing ENV keys in config

These are pretty much the exact steps from Paul Elliot’s blog post on the subject. In case you found this post from google, his blog post is a better source for this sort of information than mine, so please look at his post. I’m just repeating the steps here because I keep looking it up … Read more

I’m in love with Angular.js. There, I said it.

Angular.js, how I love thee. Let me count the ways: For how you let me truly separate consumers of an api from the api itself. For how you implement bidirectional binding and make ajax calls easily. The entire time I’ve been writing rails code, I’ve felt it’s been messy having the view logic able to … Read more

Code Snippet for getting a certain field from a scoped model

This comes up a lot and I keep reinventing it: Note that pluck doesn’t work because it’s a class method not an instance method.

Why it’s hard to learn from books – But you can do it!

I’ve been coaching my younger sister through learning to computer program. As part of the process I’ve been sending her pep/ motivational emails that might be useful to anyone who’s going through the list of books I recommended in this post here. Here’s one of them encouraging her to push through the difficulty of learning … Read more

“I want to learn to code. Can you help me?”

I’ve been answering this question a lot these days. Possibly because whenever someone technical asks me to help them with their web-based startup, I send them this blog post on how to find a technical cofounder. (This is an improvement on the alternative, which is to offer to try to help and then straining the relationship … Read more

New Rails Project

Working on a new website, It’s an app to help people select dog breeds. Basically, I was trying to find dog breeds that might be good for me (never owned a dog before) and found it really difficult to research different breeds, filter, etc. So I’m making an app for it to help myself … Read more

Scraping tools

selectorgadget nokogiri

Interesting Rails Posts  

Emacs Rails Configurations

The guys over at vilabs have a great walkthrough on installing emacs 24 and getting it configured to be productive for ruby on rails.   I just read Batsov’s post on Emacs 24 and followed it to his Emacs dev kit. It’s a nice set of emacs extensions for development all in one place. … Read more

Setting up for Rails development on Windows

Came across a road block while setting up for rails development on windows: rvm doesn’t work! I usually do rails work on windows only when I’m required to use windows 7 (as opposed to osx when working with windows-only software for clients). Rather than try to deal with other gem workarounds, I’ve decided to install … Read more

Emacs Setup For Ruby on Rails

This post goes over how I’ve set up emacs for Ruby on Rails development on my development machine (a macbook pro running windows 7 and snow leopard). Background: I’ve been getting back into Ruby on Rails development this past week and converting from vim to emacs in the process. Nothing against vim, I recently got … Read more

Lisp Vocabulary Explanations

LISP – LIST Processing ( CONS – CONStruct memory objects with hold two values or pointers to values ( Use CONS to stick things together in a list CAR (Contents of the Address part of Register number) Use CAR to get the first member of the list CDR (Contents of the Decrement part of Register … Read more

Manage It! Notes

Software Project Life Cycles, and how they manage or don’t manage risk Lifecycle Type – Serial – Waterfall, phase-gate. Often unsuccessful. Requirements change and/ or things take longer than expected and the whole project gets pushed back. Iterative – Spiral, evolutionary prototyping. Manages technical risk. Allows for evolving requirements. Incremental – Design to schedule, staged … Read more