ancirus

338 Flips | 4 Magazines | 1,594 Followers | @ancirus | Keep up with ancirus on Flipboard, a place to see the stories, photos, and updates that matter to you. Flipboard creates a personalized magazine full of everything, from world news to life’s great moments. Download Flipboard for free and search for “ancirus”

Cleaning Up: ActiveRecord::Dirty 5.2 API Changes - The Lean Software Boutique

With the release of Rails 5.2 just around the corner (Rails 5.2 RC1 is already available!), we will be taking a look at some of the upcoming changes …

Fast JSON API serialization with Ruby on Rails

by Shishir Kakaraddi, Srinivas Raghunathan, Adam Gross and Ryan Johnston<p>We are pleased to announce the open source release of the Fast JSON API gem …

Software Development

5 Ruby on Rails Tips You Probably Don’t Know

Since I started working with <i>Ruby on Rails</i>, and after several years of using it passed by, I can’t stop wondering when I discover something new in <i>Ruby</i> …

Programming

Advanced Enumeration with Ruby

Reading Time: 9 minutesEnumeration by definition is “the action of mentioning a number of things one by one.” In programming, instead of mentioning, …

Track Down

Validate Ruby objects with Active Model Validations

In the world of Rails and Active Record, validating data and storing it in a database is easy. If you’d ever built a simple site that stores data in …

N+1 Queries or Memory Problems: Why not Solve Both?

This post is going to help save you money if you're running a Rails server. It starts like this: you write an app. Let's say you're building the next …

Databases

The hidden cost of the invisible queries in Rails

Ruby on Rails is awesome, <i>it is really awesome</i>. It allows us to create web applications without knowing every involved technology. After all, Rails is …

Programming

Start using GraphQL in Rails

GraphQL is a powerful & nimble API query language.<i><br>This post serves as a step-by-step “Getting Started” guide to adding GraphQL to your Ruby</i> …

Software Development

Component architecture recipes for Angular’s reactive forms

Component architecture is the fundamental building block of applications, and isn’t just limited to Angular. Building with components allows for …

JavaScript

Protecting Your App With Ionic Auth Guards

Recently I dig into authentication with Ionic a bit more and found a rather unrepresented topic that can actually help to secure your app really …

Web Development

Refactoring Ruby: From Subclass to Registry – The Miners

From developing a solution to gradually improving it by listening to the pain<p>My team was given a particularly laborious task: implement responsive …

Software Development

50 Most Common Rails Mistakes: The Ruby Way

It’s been a while since we’ve rolled out our previous article, about the most common Rails mistakes that beginner developers usually make. In this …

Programming

The 50 Most Common Rails Mistakes Beginners Developers Make. Part 2: Controllers

In our previous article, we listed the most common mistakes beginners when working with a model and database. Today’s post will be dedicated to …

Angular 2/5 User Registration and Login Example & Tutorial

December 14 2017 - Updated to new HttpClient.<p>Built with <b>Angular 5.0.3</b><p>After getting a lot of interest in a previous tutorial I posted on how to build a …

Progressive Web Apps with Angular 2+

<b>At the time of writing, the --mobile flag with Angular CLI, which integrates progressive technologies such as offline support into your application,</b> …

How I fixed my biggest mistake with implementing background jobs

Do the Right Thing and Document Your Rails API with Swagger

Maybe, if you are working on a small project and your team consists of just one member and that's you. But even then you won't be there to maintain …

The 15 most popular Ruby links of 2016 🔻

We’ve delved into all the data from <i>Ruby Weekly</i> and found the most popular links of the year.<p><b>Here’s a round-up of articles, news and tutorials that</b> …

AnyCable: Action Cable on steroids — Martian Chronicles

Back-end<p>Vladimir Dementyev<p>Back-end Developer at Evil Martians<p>https://github.com/palkan<br>• https://twitter.com/palkan_tula<p>Action Cable is one of the most …

Software Development

Rails autoloading — how it works, and when it doesn't

Rails is, in part, known and loved for its ease of initial development. A big part of the “wow!” factor of DHH’s famous blog demonstration, its …

Simplifying Complex Rails Apps with Operations

I work on several large and mature Rails applications and have recently been feeling a lot of pain as these applications become more and more complex.<p>…

A Quick Analysis of How Minitest Works

As you may know, Minitest is the default testing library for Rails & DHH’s favorite. Some people prefer it for its simplicity and how little code it …

Purposes & Properties of Value Objects

Receive articles, announcements, and our occasional newsletter in your inbox.<p>Last time we talked about how to reduce the abuse of primitive types, by …

Fun-Da-Mental

4+ Years of Using Minitest

In the last few blog posts I wrote about my experiments with Minitest in the last few years. For today’s blog post I thought I’d write how some of …

JavaScript

Angular 2 – Authentication using the new router.

Hi Friends,<br>Hope you are all well. The new ‘improved’ router has been released and I made a post on it last week. Many of my friends who read that …

JavaScript

Building a Todo App with Angular CLI

<b>This article on building a todo app with Angular CLI is the first in a four-part series on how to write a todo application in Angular 2:</b>• Part 0— The …

Angular Docs

Three Options for Top-Down Rails Testing

The most popular methods for learning Ruby on Rails today all place testing front and center. The Ruby on Rails Tutorial incorporates sections on …

Speed Things up by Learning about Caching in Rails

As developers, we hear the word "cache" quite often. Actually, it means "to hide" in French ("cache-cache" is a hide-and-seek game). Caching …