![]() ![]() Action Text Sanitizer update to more inclusive language How I went about updating my Action Text allowed tags/attributes.How to comment Rails migrations We recently learned how you could apply comments to your migrations in Rails.How we used Nokogiri to fix a sizing issue in YouTube's oEmbed At some point, one of our calls to YouTube's oEmbed endpoint was returning videos way too small we fixed in in our Rails application by using Nokogiri.How to ignore Bullet in RSpec tests Using Bullet during a test can pick up mistakes but also has false negatives here is an easy way to ignore them.Testing Routes with RSpec Testing routes can give you more confidence and help drive application development here is how to do it with RSpec.Using Shoulda Matchers with RSpec A guide to setting up Shoulda Matchers to work with RSpec.Using Faker with Rails A guide to setting up Faker to work within Rails and why you'd want to.Optionally creating or removing a column or table with Rails migrations Here's how to go about creating or removing a column optionally using Rails migrations.Rails migrations - add default value to existing column Here's how to update an existing column to use a default value.Postico: How to install and use Postico to connect to a database The basics of using Postico.Basic guide to Content Security Policy with Rails The basics of setting up CSP with your Rails app.Setting up Permissions Policy with Rails How to set up Permissions Policy HTTP header in your Rails app.What are the square brackets in my Rails migrations? Let's look at what these little square brackets are doing in our Rails migration files.This is how we got vips working on Heroku Getting vips to work with Rails on Heroku As of Rails 7, vips is the default way to manipulate images.Getting sign out link_tos to work with Rails 7 How to get your sign out link_tos to work with Rails 7.Auto reloading Rails Admin How to avoid restarting your server when making Rails Admin changes.Git commands we use most often Some basic Git commands that we frequently use here at Tosbourn Ltd.Ignore empty nested attributes when using Rails Admin How to resolve issues that arise with saving models if you have empty nested attributes using reject_if.Adding timestamps to join tables in Rails How to go about adding timestamps to your Rails join tables.Changing colours in Rails Admin How to change up the colours in Rails Admin.Setting up a dedicated Sidekiq queue If you want one type of queue to always be processed, a dedicated Sidekiq process is the answer.Using the paranoia gem when joining tables Something I learned today about joining two tables that both use acts_as_paranoid.Use to_sql without slashes Do you hate slashes in your to_sql output? Then this post is for you!. ![]() ![]() Replacing Sidekiq with GoodJob We recently moved a client to GoodJob, and would do it again!.Fixing Issues with GitHub Actions and Rails How I went about fixing some issues with a first push of GitHub Actions on a Rails project.Upgrading Ruby - Steps to follow Here are the steps you should follow to upgrade Ruby as stress free as possible.Pros and cons of hiring freelance ruby developers The decision to go with hiring an employee, hiring a freelancer, or going with an agency is a hard one, we talk through some pros and cons for each.Rails route to catch non-GET requests to root path We needed to add a specific line into our routes.rb file to cover non-GET requests going to the root path.There is also a category dedicated to Ruby on Rails, if that is more your thing. Ruby is our favourite programming language and more importantly programming community.Įven though we have been using Ruby for several years now we love to learn more about the language, the following posts are us sharing our learnings with you.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |