RubyFlow The Ruby and Rails community linklog

×

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

You can use basic HTML markup (e.g. <a>) or Markdown.
Note that your post may be edited to suit the format of the site.

As you are not logged in, you will be
directed via GitHub to signup or sign in

Post Preview

Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.

XML or JSON API?

In lesson #4 of the Build Less, But Better Software email course, we looked at 5 ways APIs help businesses increase revenue. In lesson #5, we’ll look at technologies that go into delivering API, XML and JSON

Image Processing in Rails using AWS Lambda

A common problem with image processing Rails apps has been the excessive memory consumption within the worker processes. When images are large enough, our worker will consume a big portion of our memory and will take forever to finish. If you are deploying on Heroku, you will probably be paying for the cheapest worker and the R14 notification emails will be flooding your inbox. Learn the solution here

CrashBreak: A new approach for dealing with production exceptions and bugs in Ruby

Hello! Some time ago I was working on an application that had many bugs and reproducing each one was time consuming. I thought about making this process faster and more user-friendly. Recreating bugs manually in the browser by typing data and setting all connected modules in the same way like when the exception occurred can be annoying. Also, there is no certainty that the bug is reproduced in the same way it occurred. The other problem is that many of the bugs are hard to reproduce and connected to different layers of the system. The idea of CrashBreak is to reproduce the exception from the staging server on the programmer’s computer by running a request test. In order to do this the library needs to dump your system piece by piece. Currently we have 3 dumpers: for database, all request data (headers, url, body) and user session. We tried to create the whole system in an adaptive way. It means that you can write your own extensions to adapt the library to your needs. The beta of the service is ready and available at http://crashbreak.com Please give it a try and send me your feedback so I can make CrashBreak even better. Thank you kind strangers! Michał Janeczek

1) the link does not work because of the dot at the end 2) wait… what? So it wo…
Hi! Of course not! You are able to dump your database and send it whereve…

How to Serialize an Array of Objects.

Hello everyone! I have been facing a problem. I have an object (class) named Note, and I have a global variable array of these objects named notebook. What I intend to do, is to make the notebook persist between sessions. I’ve tried Marshal but maybe it was all wrong. Please help. Here’s the link to the source.

Create Ruby Gem by Example

Learn how to build a Ruby gem by creating one http://www.victorareba.com/tutorials/create-ruby-gem-by-example

@IGOR why is that? That is the TV show to be queried.
I believe Igor is just pointing out the ruby convention to use snake case varia…
because of this https://github.com/bbatsov/ruby-style-guide …
@IGOR & @HANSEN noted, thanks for the pointer. Besides that, how did you fi…

What's new in Rails 5?

Rails 5 is a new major version of Ruby On Rails, this implicates that the Rails API and requirements can change to deprecate, add new, and/or improve existing APIs, but also to take advantage of important changes in the Ruby language as well. [more inside]

Loading older posts