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.

How To Set Up A Rails Application On Main Domain With Passenger?

Here are the steps to set up a Rails Application on Main Domain with Passenger : 1. Upload your application to the server using either ftp/sftp or SSH or if you have your application under version control, checkout or clone your application to a folder in your home directory. To read full article, visit RailsCarma Blog .

Gems != Magic

Ruby gems can seem magical. Usually, one (or more accurately: thirty) solution to a problem exists in the form of a gem. Using gems is easy and intuitive. Simply add a line in the project root’s Gemfile and run bundle install. Then, either require the name of the gem or, if using Ruby on Rails, start using the gem’s code immediately anywhere in the project. It is important to understand that gems are tools, not magic.

Polymorphic Associations With Active Record

Active Record Associations are one of the most important features of Rails. Polymorphic association is part of these associations. With polymorphic association, a model can belong to more than one other model, on a single association. Why do we need associations between models? To read full article visit, RailsCarma Blog

Battling with the 'Known Unknowns' to keep inline with SRP

One never gets tired of some grandiose considerations on the fundamental principle of OOP. Here’s the 1st part of an article on SRP the Second part being closely related to an article that has been submitted here today about Interactors… There’s no coïncidences :-)

That conceptual reasoning for why handling a users stuff is not just one respon…

Redirecting HTTP requests using the IP address of a client in your Apache Config

Maybe you’ve got some Ruby or even Rails webservice running for different clients. Given that you need to serve some different resources to different customers under the same URL, redirecting requests based on IP address ranges can by quite handy. Read this article to find out how you can do that with Apache 2.4.

Introducing Interactors to represent getting stuff done.

This post introduces interactors, also know as usecases or service objects. See how your domain code can be separated from your framework. http://insights.workshop14.io/2015/08/16/introducing-interactors-to-represent-getting-stuff-done.html

So annoying : I posted 10mn ago an article about precisely the same theme - huh…
Is that gem just about form objects? or form objects and an interactor. I don’t…
Interesting. You’re actually ahead of me because I don’t separate (yet?) the no…
I have separated pretty much everything I possible could. If your saw the first…

mrh/mrhyde - static site quick starter script wizard - jekyll command tool

Hello, I’ve put together the mrhyde-tools gem that includes a command line tool that lets you run static site quick starter wizard scripts. For example, use $ mrhyde new starter or $ mrh n starter to download and install (unzip/unpack) a theme archive and configure a static site ready-to-use. For more quick starter wizard scripts see the Mr. Hyde’s Scripts library. For more themes see the Dr. Jekyll’s Themes directory. Cheers.

Faster TDD in Rails with Bundler's 'require: false'

This post explains why the Rails default behaviour of requiring all your gems automatically will lead to a slow TDD feedback cycle. Learn how to speed this up by avoiding loading gems unnecessarily, and also why using Spring may not be a good approach. [more inside]

This does not address the cause, it only addresses the symptom.
Loading older posts