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.

Custom Video Players and Animating Videos in RubyMotion

In the previous episode we looked at CALayer and how easy it makes animating your views. We’re going to expand on this by looking at a class I mentioned at the end of that episode called AVPlayerLayer, and it’s buddy AVPlayer. Using these classes you can creating custom designed video players and animate them in the same ways that you can animate CALayer (because AVPlayerLayer is a subclass of CALayer), without making the video jump, it’s all very smooth. [more inside]

ITTIA DB SQL Receives "Editor's Choice Award" From Embedded Computing Design

ITTIA DB SQL is selected as an “Editor’s Choice Award” by the respected Embedded Computing Design magazine. ITTIA DB SQL continues “targeting embedded systems, mobile devices, and other Internet of Things (IoT) appliances that require non-stop access to data”, allowing manufacturers to benefit from relational model and SQL to build fast, scalable, reliable and highly available applications.

Optimizing Active Record Associated Record Count Queries With the belongs_to counter_cache Option

It is often useful to know how many records are associated with a model identified as being the parent in a belongs_to relationship. Active Record’s default behavior is to determine this number using a COUNT(*) query. Fortunately, you can avoid this additional costly query by caching the associated record account with a few simple modifications to your Rails application. Read the tutorial.

Managing Logs and Why Elasticsearch is Amazing!

Even though our logging system is considered to be a core piece of our hosting platform and even though we have very strict internal demands for keeping the system available and healthy, we still don’t have to do much to keep Elasticsearch up and running. While it’s incredibly configurable, we found that we haven’t had to deviate much from their sane defaults. So, given the ease of use of Elasticsearch, I found myself talking more about what it’s like to manage a lot of logs from a lot of sources, both software and hardware. Here are my slides if you’d like to follow along: Read more here.

Loading older posts