JSON API and Active Model Serializers with Rails

  Рет қаралды 16,653

GoRails

GoRails

Күн бұрын

Пікірлер: 12
@blackbirdy230980
@blackbirdy230980 7 жыл бұрын
wish I watched this 2 months ago. great explanation, thanks! is there anything on using OAUTH2 with the API?
@GorailsTV
@GorailsTV 7 жыл бұрын
Not yet, but are you talking about authenticating via OAuth and then using the returned token to access the API?
@blackbirdy230980
@blackbirdy230980 7 жыл бұрын
yes, unless there's a better way than returning a token to access the API?
@GorailsTV
@GorailsTV 7 жыл бұрын
OAUth is mostly for third party apps that want to consume your app like you see with apps that connect with Github, etc. If you just want to connect a mobile app, you can have an auth endpoint that verifies the username and password and returns a token directly instead. Much easier to do than OAuth for it.
@blackbirdy230980
@blackbirdy230980 7 жыл бұрын
thanks, but I think I'll need OAUTH. :)
@DoHuyHung94
@DoHuyHung94 7 жыл бұрын
Thank for video, can you tell me add dynamic attributes in ActiveModel serializer, not default as in video. Thank
@haydencole6129
@haydencole6129 3 жыл бұрын
A trick : watch series at flixzone. Been using them for watching a lot of movies these days.
@kianpierce3912
@kianpierce3912 3 жыл бұрын
@Hayden Cole yup, I've been watching on flixzone for months myself =)
@bakasan0000
@bakasan0000 3 жыл бұрын
@17:45 It's unfortunate that the has many is included by default. We may not want to send that information with every request.
@GorailsTV
@GorailsTV 3 жыл бұрын
Then change it 👍
Rails API Series: Our First API
14:52
GoRails
Рет қаралды 26 М.
Rails Admin Interfaces with ActiveAdmin
17:42
GoRails
Рет қаралды 63 М.
ЛУЧШИЙ ФОКУС + секрет! #shorts
00:12
Роман Magic
Рет қаралды 34 МЛН
Disrespect or Respect 💔❤️
00:27
Thiago Productions
Рет қаралды 38 МЛН
Amazing remote control#devil  #lilith #funny #shorts
00:30
Devil Lilith
Рет қаралды 15 МЛН
Real Man relocate to Remote Controlled Car 👨🏻➡️🚙🕹️ #builderc
00:24
RubyConf 2021 - Rswag: Automated API Documentation by Sarah Reid
30:13
Using Webpack in Rails with the Webpacker gem
21:19
GoRails
Рет қаралды 24 М.
Episode #149 - Rails Presenters
9:20
Drifting Ruby
Рет қаралды 4,5 М.
Background Processing with Rails, Redis and Sidekiq
15:00
Decypher Media
Рет қаралды 61 М.
A Look into Routes and Routing in Ruby on Rails
9:57
GoRails
Рет қаралды 14 М.
ЛУЧШИЙ ФОКУС + секрет! #shorts
00:12
Роман Magic
Рет қаралды 34 МЛН