Community Highlights

It’s that time again, to promulgate a couple of engaging Rails links to prominence a tiny of a most appropriate of a community. All of these were primarily lonesome upon a Ruby5 Podcast, a twice weekly Ruby newscast.

Rails 3 Content

The subsequent Rails3 Bugmash is receiving place May 15th as well as 16th. If you’ve never contributed to Rails, this is your possibility to give behind a tiny as well as do your partial to have Rails 3 a most appropriate chronicle ever.

To get a end design of routes in Rails 3, Rizwan Reza covered it best in an essay over upon a Engine Yard blog. If we puncture a Engine Yard Rails 3 content, they not long ago combined Rails Dispatch, where they have articles as well as screencasts published weekly.

Alex Maccaw not long ago used a Rails 3 ActiveModel condensation to set up an ActiveRecord-like in-memory database called Supermodel. You get all of a ActiveRecord goodness, such as validations, callbacks, as well as observers, though with nothing of that database headache.

As we might already know, a arel library from Rails 3 gives us a excellent latest syntax for formulating queries. Under a covers, arel converts your where conditions in to sql is by regulating something called a PredicateBuilder. Ernie Miller not long ago place out a plugin called MetaWhere that takes value of these PredicateBuilders to give arel even some-more functionality.

Lastly, if it’s still not transparent to we how overwhelming bundler is, go review Yehuda’s latest post upon a topic.

Authorization

Do we ever find a need to entrance current_user in your models? This is mostly compulsory when you’re logging model/table changes upon a per user basis. There have been most hacks to get ahead this, though David Bock has a gem called SentientUser that does this a tiny cleaner.

Once your websites goes large as well as we start to be concerned about antagonistic user attacks, we might wish to take a demeanour during Arto Bendiken as well as Brendon Murphy’s Rack::Throttle Middleware. Throttle does only wish we consider it does, permitting we to extent a series of requests a user can ping your site (per second).

Lastly, Ryan Bates expelled chronicle 1.1 of CanCan, his authorisation as well as accede living room that allows we to shorten what your users can do via your application.

Service Libraries

You might have listened that a Facbook API is straight away taking advantage of OAuth2. If you’re ready to burst in, Michael Bleigh expelled a OAuth2 gem only final week.

Rails makes a excellent RESTful backend for iPhone applications, as well as not long ago Anthony Moralez combined APN_on_rails that makes it super simple to do Apple Push Notifications.

There’s no need to reinvent a circle if your Rails focus needs e-commerce, this is where a Spree gem comes in, that not long ago strike chronicle 0.10.0, containing a garland of latest features.

Testing

Does your Rails focus have a beast contrast living room that takes perpetually to run? Then it might be time to take a demeanour during Hydra by Nick Gauthier, a distributed contrast horizon that allows we to run your tests in together locally or opposite remote servers.

Some people consider cucumber can be as well prolix for formation tests (which clients might never read). If we consider cucumber is for vegetarians, afterwards maybe it’s time to ambience a tiny Steak by Luismi Cavalle. Steak is a tiny living room that helps we beget discerning as well as purify acceptance/integration tests regulating RSpec.

Talking about RSpec, there have been a tiny latest conventions out there to purify up your aged RSpec code. If we haven’t proposed regulating “Let”, afterwards it might be time to demeanour by a couple of of Jon Larkowski’s slides.

Additional Useful Libraries

If we ever find yourself with peculiar mental recall issues afterwards it’s substantially time to operate memprof.com, a latest web use by Joe Damato as well as Ruby Hero Aman Gupta. Memprof allows we to pick up mental recall use report from a Ruby routine as well as rught away upload as well as perspective it regulating an discerning web interface.

Rails applications have been mostly full of forms, as well as infrequently we even need to give your clients a capability to emanate opposite sorts of forms or surveys. This is where a Census gem comes in, upon condition that an admin interface for formulating forms, as well as even a capability to poke by a results.

To hang things up, delayed_job not long ago strike 2.0, as well as you’ll wish to ascent if we have an comparison version. The latest chronicle has a tiny opening improvements as well as adds await for non-ActiveRecord ORMs.

Additional Content

To keep lane of Ruby conferences check out Ruby There, a inventory of all a arriving conferences as well as even when a Call for Proposals have been due.

For some-more headlines as well as libraries check out a Ruby5 podcast. If we don’t customarily attend to audio, we can only allow to a RSS feed that contains a outline of all covered.

If we have any tales/libraries you’d similar to to widespread a word about, feel giveaway to email ruby5@envylabs.com as well as we’ll during slightest get we lonesome upon a podcast. Thanks!

Image Credit: Blue Sky upon Rails by ecstaticist, Analog Solutions 606 Mod by Formication, Rainbow by One Excellent Bumblebee. Orange County Security by henning, remember by tochis, Darwin Was Right About Media Players! by Neeku, remote controls by redjar.

This post has been translated in to Belorussian supposing by PC

Riding Rails – home

Incoming search terms: