DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR RUBY
rails active record to fetch only list of ids
Language.where(short_code: short_codes.flatten).pluck(:id)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#rails
#active
#record
#fetch
#list
#ids
ADD COMMENT
Topic
COMMENT
Name
3+9 =
Submit