Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- I'm using the old acts_as_taggable plugin , but am facing funny case
- follow this: open a console: script/console
- then try:
- >>Tag.find_or_create_by_name('get')
- => #<Tag id: 7375, name: "get", parent_id: nil>
- then try to submit a non english dictionary word (latin letters)
- >> Tag.find_or_create_by_name('git')
- => #<Tag id: 9870, name: nil, parent_id: nil>
- notice the name attribute; it gets nil value!
- how can i change this behavior ? how does it know abt dictionary words?
Add Comment
Please, Sign In to add comment