#Ruby-on-Rails
25 notas · última:
Some Of My Favorite Ruby Gems
A list of Ruby gems the author recommends for Rails projects, covering authentication, permissions, charts, SEO, debugging, payments, background jobs, pagination, and scheduling.
Keeping your Ruby on Rails app easy to update
The post argues that updating Rails helps with security, bug fixes, and features, and says upgrade work stays smaller when dependencies are kept selective, monkey patches are avoided, and tests stay strong.
Segurança em Rails
O post reúne referências e ferramentas para acompanhar vulnerabilidades em Rails, checar gems do projeto com Bundler Audit e usar Rack::Attack para limitar abuso e força-bruta.
How to isolate complex queries in an object oriented fashion – Alfredo Motta
The article shows how a talent-hunting app can move player search logic out of the active record model and into an `InterestingPlayer` query object, so domain-specific queries stay reusable and `TalentHunter` stays easier to read.
When to choose Elixir over Ruby for 2016 projects?
The article says Rails still fits internal apps, prototypes, smaller user bases, cacheable sites, and systems that can be split up. Elixir is better for high traffic, async, distributed, real-time, always-on, and large systems.
Dicas de performance para aplicações Ruby on Rails
A palestra reúne técnicas de menor custo de desenvolvimento para evitar gargalos óbvios em aplicações Rails, indo de filas para tarefas assíncronas a otimizações HTTP como Memcache e ETags.
Por que .Net é melhor do que Rails?
O autor defende que Ruby on Rails é atraente, mas que no mercado brasileiro ainda é preciso manter domínio de C#, Java ou outra linguagem já usada, porque há legados, falta de profissionais e nem todo projeto é web.
Working with dates on Ruby on Rails
The article explains how Ruby on Rails handles dates across time zones, DST, persistence, queries, parsing, and JavaScript, and recommends using Rails and ActiveSupport time-zone-aware methods.
Remove N+1 queries in your Ruby on Rails app
The post explains the N+1 query problem in Rails, shows how eager loading methods reduce repeated database calls, and gives a few other ways to merge queries and spot them in development.
Remove N+1 queries in your Ruby on Rails app
Explains the N+1 query problem in Rails and shows how eager loading, grouping, SQL joins, and the Bullet gem reduce repeated database calls in common cases.
What are some of the things about Ruby on Rails that most developers don't know?
The page points out two Rails details: ActiveRecord::Relation#to_sql exposes the SQL behind a query, and association conditions can reuse a model's own where_values_hash instead of hard-coding schema details.
Why I’m betting on Elixir
The author argues that Elixir and Phoenix keep Ruby on Rails’ focus on developer happiness while adding fault tolerance, concurrency, speed, and a strong ecosystem backed by Erlang.
Slack on Rails
The post shows how Slack can act as an interface to internal services and explains two ways to build a simple command-and-response integration in a Rails app: Outgoing WebHooks and Slash Commands.
Number Verification And Two Factor Authentication in Android/Ruby on Rails
Tutorial that shows how to build a two factor system in Ruby on Rails with Sinch SMS, including code generation, verification, Postman testing, and hosting on Heroku for later Android use.
Some best practices for authentication in Ruby on Rails
The article distinguishes authentication from authorization, recommends clearer names for authentication accessors, argues for separate authentication sessions, and warns that auth gems can add security and maintenance risks.
Ruby pioneers come clean on the language's shortcomings
Yukihiro Matsumoto and David Heinemeier Hansson praise Ruby for readable code, abstraction, community and programmer happiness, while also noting complexity, speed limits and weak spots outside the web.
Porque eu saí de praticamente todas as listas de desenvolvimento?
O autor explica por que deixou quase todas as listas de discussão: excesso de tópicos fora de escopo, perguntas vagas, propaganda e falta de pesquisa prévia. Defende bom senso e melhor formulação das dúvidas.
How To Use Mina to Deploy a Ruby on Rails Application
The page explains how to install Mina, configure deploy.rb, set SSH and repository options, and run setup and deploy tasks for a Rails app using Mina.
Ruby Gotchas that will come back to haunt you
The page lists Ruby pitfalls that can change program behavior or hide bugs, from operator precedence and equality to `super`, exceptions, scope, bang methods, assignment return values, and class-method privacy.
Formatando datas no Ruby on Rails
Mostra três jeitos de exibir um campo datetime no Rails: helper, after_find no modelo e, de forma mais flexível, um formato customizado em Time::DATE_FORMATS usado com to_s.
Ruby on Rails — WebFaction Software Documentation
WebFaction explains how to install, configure, and deploy Rails apps, including PATH setup, gems, Bundler, ImageMagick, databases, Action Mailer, and troubleshooting production mode.
Must Have Gems for Development Machine in Ruby on Rails
The page lists Ruby on Rails development gems that speed up debugging, profiling, logging, database inspection, mail testing, code analysis, and app boot time, with brief notes on what each gem does.
Usando o Vagrant como ambiente de desenvolvimento no Windows
O artigo mostra como usar o Vagrant para substituir um ambiente de desenvolvimento lento no Windows, rodando uma máquina Linux com VirtualBox, pasta compartilhada e acesso por SSH.
Create Web services with Ruby on Rails and Action Web Service
The article shows how Action Web Service adds SOAP and XML-RPC support to Rails, explains API classes, dispatching modes, and client access, and walks through working examples.
Setting up a High Availability Ruby on Rails environment with keepalived, nginx, HA Proxy and Thin on Debian Lenny
The article describes a Rails deployment with two Nginx reverse proxies, two HAProxy nodes and a Thin cluster behind a virtual IP, using keepalived to move the VIP when a node fails.
