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.

Asset Manager - Manage your assets in style!

We just released Asset Manager, a Rails Engine that helps you to: *) Manage all your assets (images, pdf, zip, ecc.) in a central repository *) Quickly connect instances of your models with this repository, through a nice graphical interface *) Generate markup for your assets in your views with a series of helper methods Hopefully it will prove to be useful for others as well. Enjoy!

When is an ActiveRecord model too fat?

When you read Rails blogs and books, or watch conference talks, you’ll learn a lot about making your models skinnier. These techniques are awesome, because your models will get too big or complex to handle. But do you really want to go as far as having your models only responsible for persistence, associations, and validations? How do you decide which logic should stay in your ActiveRecord models, anyway?

sport.db.api.starter Sample - Build your own HTTP JSON API using the football.db w/ Sinatra

Hello, To get started building your own HTTP JSON API / web service using the football.db, worldcup.db, bundesliga.db, etc. try the new sport.db.api.starter kit. Step 1: Install all gems using bundler. Step 2: Copy a football.db into your app folder. Step 3: Startup the web service (HTTP JSON API) using rackup. That’s it. Open your browser and try some services running on localhost on port 9292. Example: List all World Cup 2014 teams (event/world.2014/teams); list all World Cup 2014 rounds (event/world.2014/rounds) and so on. You’re welcome to change the server script to fit your needs. Enjoy. Cheers.

Loading older posts