daily pastebin goal
53%
SHARE
TWEET

Untitled

a guest Feb 19th, 2019 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. config.model ActsAsTaggableOn::Tag do
  2.   label 'Тэг'
  3.   label_plural 'Тэги'
  4.   configure :name, :string
  5. end
  6.    
  7. config.included_models = :all
  8.    
  9. config.included_models << ActsAsTaggableOn::Tag
  10.    
  11. config.included_models = ['ActsAsTaggableOn::Tag', <all other models>]
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top