In our Ruby kitchen we cook web applications. What makes our apps savory is the Ruby gems: useful libraries that offer diverse solutions for common problems in web application development. We’ve selected 46 useful gems that we regularly use and would like to recommend to you!
Here at RubyGarage we work closely with Ruby and Ruby on Rails technologies. If we imagine our workflow as a kitchen where we “cook” applications, we might say that our developers are chefs, Ruby is our cookbook, and Ruby on Rails is our partially-prepared food: it’s half cooked, so we don’t need to do everything from scratch. Finally nike air max 2017 femme pas cher , we “season” our apps with gems – Ruby libraries with specific functionalities. Gems allow us to extend and customize our apps.
For this article, we’ve selected the top Ruby gems?we regularly use in our projects – and recommend. Enjoy!
Active Record
Active Record is the default ORM for Ruby on Rails. Though it offers rich functionality, some projects require custom solutions or additional features. We’ve picked out a few gems that extend Active Record’s functionality making it more powerful, flexible, and versatile.
Pagination – For pagination nike air max 2017 pas cher , try a gem with the enigmatic name Kaminari, Japanese for “thunder.” Kaminari is a flexible out-of-the-box paginator (no configuration required) that uses scopes to handle ActiveRecord queries.
Categorization – To implement better classification and structuring of data on a blog, a news website, or a social network, you might want to add tags. The gem ActsAsTaggableOn allows you to tag objects (models and controllers) according to several attributes depending on your application’s content.
Clone – If you need to create a copy of an Active Record object and its associations nike air max 95 femme rose , look at the gem deep_cloneable, which adds a method to objects to copy themselves. Deep_cloneable gives you an accurate copy with minimal effort.
Soft delete – Paranoia, which replaces acts_as_paranoid, implements a soft delete function. After you call destroy on an Active Record object, Paranoia doesn’t destroy those records in the database. Instead nike air max 95 femme pas cher , this gem hides the object by scoping queries on a model. You need to use really_destroy to really destroy a Rails object.
Finite state machines – AASM, which replaces the theacts_as_state_machine plugin, works with any Ruby object including ActiveRecord. AASM adds finite state machines (sets of rules that dictate what an application or a device should do) to Ruby classes.
Versioning – The PaperTrail gem enables you to prevent frustrating situations when you can’t undo or redo changes to your models. With PaperTrail, you can version your models, add nike air max 95 homme pas cher , undo, and redo behavior, restore data, work with model associations, and more.
Internationalization – When it comes to translating your application into foreign languages nike air max 95 og homme , Globalize, powered by I18n API, comes in handy. Globalize adds translations of your website’s content to ActiveRecord models, which is especially useful when you deal with translation of non-static database content.
Originally published?here
Nokia Lumia 920 is the latest invention from Nokia mobiles that comes by latest Windows operating system and with great Dual Core 1.5GHz Snapdragon S4 processor. The Nokia Lumia 920 is a Microsoft windows mobile having the operating system of windows 8. Nokia has managed to design a smartphone that overtakes all other smartphones in the present-day market. This is possibly the best smartphone till date and it is confident to give strong times to the likes of other mobile phone. With the access of latest smartphone Lumia 920, the smartphone conflict has peaked to its upper level.
The Nokia Lumia 920 features an 8 megapixel camera taking a picture resolve of 3264 x 2448. The camera also comes by smart features like Carl Zeiss optics nike air max 95 og neon femme , optical image steadying, autofocus, LED flash and Preview technology to capture a lively and shape free photos and video. The user can release HD videos by a great resolve of 1080 pixels at 30 fps. The model is supported with a 1.3 megapixel camera to brand video calling at better quality. The device is power-driven by the Snapdragon with a 1.5GHz dual-core Krait processor and Adreno 225 GPU. The smartphone will be included with a user internal memory of 32GB along with a 7GB SkyDrive cloud storing. The model is allowed with 1GB RAMS to certify better performance. Nokia Lumia 920 prices are static not known then are expected the Indian markets. The market is readily waiting for the launch of the smartphone that is expected to be in the fourth sector of 2012.
The Nokia Lumia 920 price is expected anywhere around Rs 35,000 and will be launched through third week of October. It was supposed that Nokia Lumia 920 would be sold over China Mobile which is the world's largest carrier. It also comes well-found with a 4G network Long Term Evolution technology. This is the next group after the 3G network and its speed will be worthy with 5 times earlier than the 3G network. So delay for this October and you can have an aspect at the new generation smartphone by Nokia. It is not only a smart accept but a stylish phone too with all new nice of connectivity features and technologies. Nokia Lumia 920 price has not stood related till date.