Need help with jquery-atwho-rails?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

ichord
201 Stars 38 Forks MIT License 71 Commits 6 Opened issues

Description

At.js gem

Services available

!
?

Need anything else?

Contributors list

# 37,810
HTML
Sketch
coffees...
rich-te...
55 commits
# 216,710
Rails
HTML
C
2 commits
# 262,256
Rails
Ansible
HTML
gitlab
1 commit
# 153,452
Rails
TeX
postgre...
Postgre...
1 commit
# 709,495
JavaScr...
CSS
1 commit
# 535,331
CSS
HTML
1 commit
# 157,297
Ruby
D
qiniu
moby
1 commit

Usage


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

Installation


Rails 3.0.x

Issue command line bellow:

rails generate atwho:install

then It will show in
public/[javascript|stylesheets]/
directory.

Rails >= 3.1.x

Add this gem in

Gemfile
like this:
gem 'jquery-atwho-rails'

add in

app/assets/javascripts/application.js
:
//= require jquery
//= require jquery.atwho

and in

app/assets/stylesheets/applications.css
:
//=require jquery.atwho

History Versions

All in At.js project.

Development


Test generator

Just issue

bundle
then
appraisal rails30 rspec

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.