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.

Delayed Job Gem for CSV

‘Delayed Job’ is a ruby gem which can be applied to execute certain tasks in background process in the Rails environment. Scheduling tasks with a timetable against running all of them together, the former is preferred due to conservative usage of resources. Visit RailsCarma Blog to read more.

Stop Worrying and Start Being Concerned: ActiveSupport Concerns

ActiveSupport is a pretty massive component within Rails, and it’s responsible for a ton of different functionality, including language extensions and utilities. The ActiveSupport::Concern wrapper is a particularly interesting utility for encapsulating shared logic, which can help keep your models skinny and DRY. This blog post delves into the basics of when, how, and why to use a concern.

I agree that Concerns help keep things DRY, but I don’t think they help with fa…

Wrap your methods with DB Transactions easily

Please check https://github.com/igorkasyanchuk/transactify [more inside]

I don’t think we should put so many logic in AR record models That makes them t…
5 lines of code in my sample so many logic? Of course if creating dummy app wit…
I think the gem is helpful, and expresses intent very nicely. I also think Pika…
I understand, but that was just a sample. Thank you for feedback ;)
Loading older posts