DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR RUBY
rails render json only some attributes
@videos = Video.select("id, name, title").all render json: @videos
PREVIOUS
NEXT
Tagged:
#rails
#render
#json
#attributes
ADD COMMENT
Topic
COMMENT
Name
7+2 =
Submit