Lugo Labs
  • Products
    Iconly Tracker
  • Open Source
    Circles Loda button Datepicker skins Icofont Iconly Rails Skins
  • Tools
    Caret Flat Slider Charicons
  • Blog
    Blog Reading List
  • Contact

ActionCable under stress: Finding a DoS vulnerability in Rails 5 WebSockets Apps etc.

22 December 2016

Ruby on Rails JavaScript HTML CSS UX Processes


Seedbank: Structured Seed Files for Rails Projects

Seedbank: Structured Seed Files for Rails Projects

End Point - 21 December 2016
Rails seed files are a useful way of populating a database with the initial data needed for a Rails project. The Rails db/seeds.rb file contains plain Ruby code and can be run with the Rails-default rails db:seed task. Though convenient, this "one big seed file" approach can quickly become unwieldy once you start pre-populating data for multiple models or needing more advanced mechanisms for retrieving data from a CSV file or other data store.
ActionCable under stress: Finding a DoS vulnerability in Rails 5 WebSockets Apps

ActionCable under stress: Finding a DoS vulnerability in Rails 5 WebSockets Apps

Phusion - 21 December 2016

In this article we will show you how Rails 5.0.0 ActionCable applications on Puma, the new default Rails app server, might be exposed to denial of service by slow clients. We will be using the OS X network shaping tools to simulate an attack, revealing the vulnerability.

Ruby 2.4 adds support for extracting named capture groups using MatchData#values_at

Ruby 2.4 adds support for extracting named capture groups using MatchData#values_at

Bigbinary - 21 December 2016

Ruby 2.4 adds ability to extract named capture groups through values_at

Setting Up an Angular SPA on Rails with Devise and Bootstrap

Setting Up an Angular SPA on Rails with Devise and Bootstrap

SitePoint - 19 December 2016
When I started programming my very first Angular single page application (SPA), I noticed the resources for setup and integration with Devise to be thin or fragmented. The most useful guide I found was actually just a segment of a general Angular with Rails walkthrough. There were other resources that were either too complex or advanced, and they didn’t really go through the initial baby steps. One of the most daunting challenges for a new programmer is starting from scratch. I know, because I’m one of these folks.
Lexers, Parsers, and ASTs, OH MY!: How Ruby Executes

Lexers, Parsers, and ASTs, OH MY!: How Ruby Executes

SitePoint - 19 December 2016

We take for granted that ruby my_app.rb will execute our code. But how does it work? What’s happening under the hood? Let’s walk through the internals and find out. Lexer The first port of call is the lexer. The lexer reads your code and breaks it up into ‘tokens’ (for this reason, you may hear […]

Ruby 2.4 adds infinite? and finite? methods to Numeric

Ruby 2.4 adds infinite? and finite? methods to Numeric

Bigbinary - 19 December 2016

Fixnum#infinite?/Bignum#infinite? and Numeric#finite?/Bignum#finite? methods are now consistent with Float#infinite?/BigDecimal#infinite?

Rewriting code with Rubocop

Rewriting code with Rubocop

Kir Shatrov - 18 December 2016
Announcing the New Heroku CLI: Performance and Readability Enhancements

Announcing the New Heroku CLI: Performance and Readability Enhancements

Heroku - 15 December 2016

Today we are announcing the newest version of the Heroku CLI. We know how much time you spend in the CLI as developers and how much pride you take in being able to get things done quickly. Our new CLI has big improvements in performance as well as enhanced readability for humans and machines.

Introducing bdubs.vim

Introducing bdubs.vim

Hashrocket - 15 December 2016

I'm excited to announce my latest edition to our Hashrocket toolbelt, bdubs.vim.

How to use any gem in the Rails production console

How to use any gem in the Rails production console

Ombulabs - 14 December 2016

How many times did you come across a great gem you wanted to try out in a production console, like benchmark-ips or awesome-print? Be it for performance or for readability, sometimes it's nice to be able to try out something new quickly without going through a pull request + deployment process. This is possible by modifying the $LOAD_PATH Ruby global variable and requiring the gem manually.

Have a project to develop? Get in touch

Lugo Labs

Open Source

  • Iconly
  • Icofont
  • Tabular
  • Rails skins
  • Gambas
  • Blue csv
  • Circles
  • Loda button
  • jQuery datepicker skins
  • Colonne
  • jQuery UI pic

Tools

  • caret
  • flat slider
  • charicons

Products

  • Tracker
  • Iconly

© 2006-2025 Lugo Labs - Contact
Lugo Labs