Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bootstrap-x-editable-rails

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bootstrap-x-editable-rails

  • 1.5.1.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

X-editable for Rails Gem Version

X-editable is an in-place editing plugin with support for Twitter Bootstrap, jQuery UI or pure jQuery.

The bootstrap-x-editable-rails gem integrates X-editable with Rails asset pipeline. This gem only supports the Bootstrap part of X-editable.

Usage

Install bootstrap-x-editable-rails gem

Include bootstrap-x-editable-rails in Gemfile

gem 'bootstrap-x-editable-rails'

Then run bundle install

Include X-editable for Boostrap 2

Add to your app/assets/javascripts/application.js

//= require bootstrap-editable/bootstrap-editable

Add to your app/assets/stylesheets/application.css

*= require bootstrap-editable/bootstrap-editable

Include X-editable for Boostrap 3

Add to your app/assets/javascripts/application.js

//= require bootstrap3-editable/bootstrap-editable

Add to your app/assets/stylesheets/application.css

*= require bootstrap3-editable/bootstrap-editable

Updating the gem

There are two rake tasks designed to ease the maintenance of this gem.

The update task pulls the latest X-editable code from github and places images, stylesheets and javascripts in the correct gem paths. It also changes background-image properties in the stylesheet to asset pipeline equivalents.

rake update

The build task is a simple wrapper for gem build

rake build

FAQs

Package last updated on 17 Jan 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc