The Ruby and Rails community linklog
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Submit a post
Post Preview
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
New release of đ dns_mock. Now you can mimic internationalized DNS records
Added ability to use internationalized hostnames. All hostnames in UTF-8 will be represented as Punycode. Mimic any DNS records for your test environment and even more! https://github.com/mocktools/ruby-dns-mock
Glimmer Desktop App Images Can Auto-Download on the Web with Opal
Imagine this scenario. You built this baseball game ticketing management app for clerks to accept ticket purchases over the phone. You already applied branding to it. Now, you want to take it online. Thankfully, Glimmer DSL for Opal lets you auto-run all the GUI code on the web without changing a single line of code. [more inside]
Refactoring Your Rails App With Service Objects
Rails apps tend to start simple, with clean models and controllers. Then you start adding features. Before you know it, your models and controllers are big, unwieldy, and hard to understand. Refactoring into service objects is a great way to split these big pieces up, so theyâre easier to understand, test, and maintain. https://www.honeybadger.io/blog/refactor-ruby-rails-service-object/
Integrating Occson - a secure remote config store - with a Ruby on Rails app
Occson is a service allowing configuration variables to be stored and retrieved securely, in a platform-agnostic way. This blog post explores how to integrate it with a Ruby on Rails app. [more inside]
Fast JSON API Serializer by Netflix in Ruby On Rails
DELETED POST [more inside]
Complex Ruby Transformations made simple with Dry::Transformer | Hanami Mastery #6
Hi, have you ever wondered how to easily make two API standards communicating together? Iâve released a new HanamiMastery episode related to data transformations in Ruby, I hope youâll find it useful too! [more inside]
Glimmer DSL for SWT Hits 39k Downloads in Just Over 1 Year
What the title says! In other news, Glimmer 2 was released, including the new Shine data-binding syntax support, which was extracted from Glimmer DSL for SWT and shared with Glimmer DSL for Opal (sharing is caring eh!?). [more inside]
ActiveRecord Callback Chain: A Cool (and Weird) Edge Case
Today we will be talking about AR Callbacks and a recommendation of a âper use-caseâ strategy for validating incoming data to your Rails Apps. [more inside]
How to do Web Scraping with Ruby on Rails for a Static or Dynamic Website?
Web scraping with ruby on rails can be challenging but it can be done easily with the process listed out in this article. Hereâs a guide explaining how to do that. [more inside]
Active Record Encryption in Rails 7
Rails 7 will be introducing a very cool new feature for ActiveRecord - application-level encryption. In this post, we will take a high-level look at how to use this functionality, discuss some cool things it can do, and acknowledge some of its limitations. [more inside]
Learn Ruby on Rails Best Practices With One Exercise
All you have for lunch every day is a big bowl of stale legacy spaghetti code. How can you become a Ruby on Rails expert if the code you read everyday stinks? 𦨠Change your coding diet today and build your expertise by doing this 10min exercise. [more inside]
A free tool to calculate Heroku database connections
Calculate and visualize your Heroku Postgres connections with the DB Connection Calculator. If youâve encountered errors like ActiveRecord::ConnectionTimeoutError or PG::ConnectionBad on Heroku, this is for you.
[Screencast] Tracking Events with Ahoy
Analytics can provide great information about your users and the content that youâre producing. With using the Ahoy gem, we can gather powerful analytics without handing them over to third parties. https://www.driftingruby.com/episodes/tracking-events-with-ahoy
Glimmer DSL for SWT Hits 60 SAMPLES with Weather!
Glimmer DSL for SWT just added its 60th sample with the Weather app elaborate sample included in v4.20.0.4! Also, added Hello, Shell! in v4.20.0.3! Come get âem while theyâre hot! [more inside]
Glimmer DSL for SWT Hello Composite, Layout, ToolBar, and CoolBar!
Glimmer DSL for SWT v4.20.0.1 and v4.20.0.2 bring the following Hello samples aboard: Hello, Composite! / Hello, Layout! / Hello, Tool Bar! / Hello, Cool Bar! [more inside]
QRCode Pix Ruby released!
qrcode_pix_ruby is a Ruby gem for Qrcode generation of Pix (Pagamento Instantâneo Brasileiro - Banco Central do Brasil). [more inside]
Glimmer DSL for SWT 4.20.0.0 Time To Shine!!!
No, you are not hallucinating!!! The uses of <=> and <= to denote bidirectional (two-way) and unidirectional (one-way) data-binding respectively are real code from the updated Hello, Computed! sample working in Glimmer DSL for SWT 4.20.0.0, thanks to the new Shine syntax for View/Model Attribute Mapping and Rubyâs ultra-malleable DSL syntax support. Also, AARCH64 experimental support has been added courtesy of the new SWT 4.20 and JRuby has been upped to v9.2.19.0 [more inside]