At.js gem
Bind your textarea
$(function(){
data = ['tom','john'];
$('textarea').atwho({at:"@", 'data':data});
});that's it, check it out! more details in At.js Home Page
Issue command line bellow:rails generate atwho:install
then It will show in public/[javascript|stylesheets]/ directory.
Add this gem in Gemfile like this:
gem 'jquery-atwho-rails'add in app/assets/javascripts/application.js:
//= require jquery
//= require jquery.atwhoand in app/assets/stylesheets/applications.css:
//=require jquery.atwhoAll in At.js project.
Just issuebundle then appraisal rails30 rspec
No open issues yet, or sync has not completed.