web security Dev Tips: Escaping Special Characters just happened that there are several issues / discussion topics around escaping characters these few days, so wanna share and remind every junior developer about these. 1) escaping in SQL statement BAD: execute('SELECT
rubyonrails Issue during gem install pg with postgresapp on MacOSX Problem after you download postgresapp (http://postgresapp.com/), when you bundle install Rails app with pg gem, it will throw error saying cannot find pg_config Gem::Ext::BuildError: ERROR: Failed to build
rubyonrails Learn backend development - Ruby on Rails Here are some references to get you started with backend development with Ruby on Rails (http://rubyonrails.org/). Ruby Basics Online courses: https://www.codeschool.com/learn/ruby https://www.codecademy.com/learn/
rubyonrails First two weeks working in F5 Works How it started When I finished my high diploma, I started to find a programming job. At that time, I saw the recruitment post of F5 Works on the internet and sent the
rubyonrails differences of "be", "eq", "eql" and "equal" in RSpec In RSpec, when you first start writing test cases to compare expected results, it might be very confusing to pick from "be", "eq", "eql" or "equal&
Community Works Gotcha using paranoia - a soft delete gem for Ruby on Rails application To implement soft delete mechanism in Ruby on Rails, paranoia is the life-saver. Sample Usage After destroying a record, the record is still stored in the database, but it won't be returned in
internship 5 months at F5Works as an intern I had decided early on that I would take a gap year after high school, and one of my goals was to do a programming internship. In December, I sent out a few
Community Works Use Koala Ruby gem to post "gif" image Koala is a famous gem for interacting with Facebook activity. Common interaction can be achieved with single simple method call. However, when we develop a Facebook feed poster for gif image, the gif
database Best Practices: Manage database schema changes with Database Migration (and version control) When you develop software with a SQL database, there are code changes that requires database changes as well. It could be database schema changes (e.g. adding a new column) or data fixes
rubyonrails Prevent duplicated database record creation with find_or_create_by When we developed the gaming App for our client Colors, we encountered a common data consistency problem: How to prevent duplicated database record creation. Of course everyone instantly can think of "use