atlas news
    
Tosbourn
15  avril     00h00
Forcing a Rails database column to be not null
   When creating models in Ruby on Rails, there are a few things to think about. One of them is which bits of data should be required in order for the model to be worth while. Today I’m going to show you the different ways you can set something to be required at a database level and introduce you to...
09  avril     00h00
We’ve deleted an article’s worth of unhelpful words
   We have removed around words from across our articles that served no purpose. Indeed they detracted from the point of the articles they were removed from. words could easily be a solid article, especially if the writing is kept tight In no particular order, here are some of the words we...
02  avril     00h00
Configure VS code to only format changed lines
   I use code formatters and linters as much as possible when developing. I love the feedback, and I especially love when saving a file if it can auto format. I used to have my VS Code set up to format the entire file, but I’ve recently updated my setup to only format the changes I’ve made. I really...
27  février     00h00
Why we have ads
   If you browse the net with an ad blocker, you might not see it, but we run ads on this site, in this article I want to talk about why we run ads, why we run the ads we do, and why we will almost certainly continue to do so. First. Let’s talk about why ads are terrible, and they are mostly terrible...
26  février     00h00
Writing accessible hashtags
   You wouldn’t like it if I removed all the spaces from my sentences, andjustwrotelikethis, but if you write hashtags without camel casing them, that is exactly how you are writing. I want to talk about why this is a problem and advocate that we all share a responsibility to fix this. I will also...
22  février     00h00
Database Consistency Gem
   I love gems that make me look like a better developer for very little work. The database consistency gem is a great example of this Just like it’s title suggests, it attempts to make your database consistent with what you have said it should do. To quote the project’s README The main goal of...
20  février     00h00
What are Rails Migrations
   Rails migrations are a tool that allows a developer to write Ruby code that will change an application’s database schema; that is, the tables and columns within the database. In this article I’m going to try to explain more about what they are and why they are useful. If you’ve not been writing...
22  janvier     00h00
We’ve removed the reading time from articles
   Up until this morning when you visited any of our articles, we would have shown you an estimated reading time. It looked something like this. How we used to display our reading time We originally added this because we thought it would be useful to people, giving a quick indication of how much...
    00h00
My Experience with the Disneyland Paris Priority Card
   Disney parks are well known for making accommodations that enable the most amount of people to get the most out of their trip. Disneyland Paris is no exception. Each park has its own system, in Disneyland Paris, they have what they call a Priority Card. For those of you who don’t know, I have MS,...
27  novembre     00h00
Iterate over indexed params in Rails
   When building out an API, sometimes the input you need to receive isn’t always in the format that Rails would necessarily like. Occasionally it is worth the effort to force it into a shape to let Rails magic happen, but more often than not the best thing to do is work with what you have. In a...