Most useful Rails plugins, Ruby libraries and Ruby gems? [closed]

╄→гoц情女王★ 提交于 2019-11-28 02:47:08

Will Paginate - essential for pagination.

Reuben Mallaby

HAML and SASS

devise - a more comprehensive authentication gem

Robert Rouse

Authlogic - Easy Authentication

Rspec - for BDD.

Formtastic - Awsome form helpers.

It lets you do things like this:

<% semantic_form_for @user do |f| %>
    <% f.inputs do %>
        <%= f.input :email %>
        <%= f.input :password %>
        <%= f.input :password_confirmation %>
    <% end %>

    <% f.buttons do %>
        <%= f.commit_button 'Sign Up' %>
    <% end %>
<% end %>

and get decent, semantic HTML:

FactoryGirl : Fixture replacement for focused and readable tests.

Paperclip - Simple file uploads

Nokogiri - for all your XML and HTML parsing and searching needs.

Capistrano - for easy deployment.

Faker - for creating valid, fake data. Great for populating an empty dev DB / testing.

Annotate - simple gem which adds something like

#== Schema Information
#
#Table name: buttons
#id           :integer(4)      not null, primary key
#text         :string(255)
#font_size    :integer(4)
#user_id      :integer(4)
#created_at   :datetime
#updated_at   :datetime
#button_stats :integer(4)      default(0), not null

to your model definitions and fixtures

Thinking Sphinx - for integrating with Sphinx for dead-simple text-searching in your app.

Clearance for authentication.

Populator - for pushing data into the DB when populating it. Used in conjunction with Faker. More info here.

ohho

cancan - for roles, companion of authlogic

Capistrano-ext - allows you to setup separate deploy recipes for staging / production / whatever other environment you have

Seed-Fu - Easy database seeding gem. Please don't use migrations to seed your database! :)

prawn - PDF generation

Andrei

Cucumber - BDD and testing

It lets software development teams describe how software should behave in plain text. The text is written in a business-readable domain-specific language and serves as documentation, automated tests and development-aid - all rolled into one format.

grosser-rpx_now - Interface into RPXNow.com, which provides an interface into OpenID, Facebook, MySpace, Twitter, and much more in terms of authentication. A great companion for Authlogic.

Mofo gem - A ruby microformat parser , Helps to import Profile data from networking sites which implements microformats using hResume,hCard . ex LinkedIn , Xing ,Twitter etc .

Very useful gem .

soap4r: A must have for making soap calls!

Source: http://rubyforge.org/projects/soap4r/

Contacts is a universal interface to grab contact list information from various providers including Hotmail, Gmail and Yahoo.

jRails is a drop-in jQuery replacement for the Rails Prototype/script.aculo.us helpers.

Delayed Job for background processing.

calendar_date_select - calendar pop-up

thin, a faster http server

Webrat - testing

is a Ruby integration test library. It has two main purposes:

  1. Implement a browser simulator to allow fast, reliable integration testing (sans JavaScript) without requiring Selenium or Watir and their associated issues.
  2. Define a ubiquitous DSL for describing interacting with a web application from the perspective of an end user.
Michael Durrant

simple_form - built on top of formtastic, and despite its name it's even better giving you better control (by being agnostic) over layout and everything is configurable. I'm surprised it wasn't listed already as it's very popular.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!