Use database sorting and filtering whenever possible in RailsGiven an ActiveRecord relation, use where soit's going to be lazy evaluated when we actually access it.
Parsing string date, time and datetime with RailsEasiest way to parse date, time and datetime in Rails
How important is code quality vs getting things done?How much value does your employer put on code quality, design patterns, tested code, test coverage vs. shipping features fast and fixing/refactor it "later"?
Things to consider before starting a software projectThings to consider before starting a software project.
Accidentally working on a wrong branch in GITSolution to accidentally working on a wrong branch in GIT.
User Experience Pattern - One Thing Per PageUser Experience pattern - One Thing Per Page pattern is about splitting up a complex process into multiple smaller pieces, and placing those smaller pieces on screens of their own.
Setup JQuery Masked input in Rails 5Instructions to setup JQuery Masked input in Rails 5
Continuous Integration with Rails, Heroku and Bitbucket PipelinesInstructions to setup Continuous Integration with Rails, Heroku and Bitbucket Pipelines
Setup Mailgun on NamecheapInstructions to setup Mailgun on Namecheap
Delayed Jobs with HerokuThere are instances where your application needs to process jobs on the background in order to give a quick response to the user. An example of which is when you are sending emails or accessing 3rd party APIs. If your app is deployed on Heroku, then you can use Delayed Jobs.
Using formvalidation-rails gem with RailsIn any modern application, one of the requirement is to have a form that has a responsive validation. If your building an application with Ruby on Rails application, and using Bootstrap or Foundation, then it's the best to use Formvalidation.
Geocoding in Rails with the Geocoder GemGeocoder gem is a geocoding solution for Ruby. With Rails it adds geocoding (by street or IP address), reverse geocoding (finding street address based on given coordinates), and distance queries.
Using google_places with Railsgoogle_places gem, a gem that servers as a ruby wrapper for the Google Places API.
Authentication with Devise and AngularJSGuide to help you create a login for users using Devise Gem with AngularJS and Rails.
Setup MongoDB with RailsThis a tutorial to help you setup MongoDB as the database for Rails. Let's start with a bit of info on MongoDB.
Setup AngularJS with RailsSetup AngularJS with Rails.
Syncing PostgreSQL database from Ubuntu Server to your local Rails environmentHow to copy data from PostgreSQL server to your local Rails environment
RefactoringA change made to the internal structure of software to make it easier to understand and cheaper to modify with- out changing its observable behavior.
Redirecting with AngularJSI needed a way to redirect to another page inside an AngularJS controller, specifically after successfully submitting a form to the server.
Rails Decorators for ViewsWhat are Decorators? Decorators help extract view-specific business logic from models into decorator class. Here is an example code that puts view-specific business logic in the model