Search Results for "which-is-more-better-java-programming-or-kotlin"

Lessons





















Forum Threads

Deploy Ubuntu 14.04 Trusty Tahr Discussion

371
General
The following commands should be slightly modified:cap install STAGES=productioncap production deployI believe it should be the following:bundle exec cap install STAGES=productionbundle exec cap pr...
paul lahana replied

Advanced Search, Autocomplete and Suggestions with ElasticSearch and the Searchkick gem Discussion

77
General
Chris, this is awesome!I was hoping you'd do a Searchkick/ElasticSearch video since you did the Ransack video!Thanks for all the great videos!

Using Vagrant for Rails Development Discussion

159
General
Trying to install the librarian-chef plugin first produces an error about not being able to find the vmware-workstation plugin (or rather gem). Installing the vbguest plugin first fixed the issue.
Bob Bannister replied

How do I learn to write dry code?

1
Ruby
I've been learning RoR for a year now and have a basic functioning site that people actually use, but my code is not even close to dry... it's probably wetter than the Amazon! Once you have the bas...

Does it make sense keep using Carrierwave having ActiveStorage?

1
Rails
Hi, I have been thinking about that since a few Days ago. I don't know which is more efficient and how much, and also how easy/hard could be the migration from one to the other. Any experience/insi...
HP replied

Symbols vs Strings Discussion

15
General
Nice! Some of my upper division CS students struggle with the notion of symbols, and I'll point them this way.

How do I display several posts in related "weeks"

17
General
I would like to structure my blog so that I can assign posts I have created with Trix and Shrine to weeks. I want to have 12 teaserboxes on my index page which can then be clicked and if I click o...

Direct Messages in Realtime with ActionCable Discussion

20
General
Shouldn't be better to create a model lets say conversations with both users "sender and receiver" and maybe make messages a polymorphic association between rooms and conversations?
Marcos replied

Comments With Polymorphic Associations Discussion

98
General
Awesome Video. I really liked and refreshed my concepts about Polymorphic Associations. Thanks :)
Karl McCollester replied

Caching static pages without CSRF token

4
Rails
Hi, I'm looking to use `expires_in` method in my actions who returns static content. For this pages I would like to return a cache control header where `public` is `true`. Like this it allow an p...
Nicolas Brousse replied
Solved

Searchkick: Reindex on model in multitenancy through default scope app

28
General
Has anyone had any success indexing their multitenant data with searchkick? I followed the suggested article in the readme (https://www.tiagoamaro.com.br/2014/12/11/multi-tenancy-with-searchkick/) ...
Chris Oliver replied

Rails 7.1 Authentication From Scratch Discussion

18
General
Authentication got a TON of great improvements in Rails 7.1 with `authenticate_by`, `generates_token_for`, `normalizes`, etc. Super duper excited for these things and they should clean up a lot of ...
Chris Oliver replied

How to use Javascript via Webpacker in Rails 6 Discussion

17
General
Alternatively to the webpacker way of require the flatpicker css in the `packs/application.js` you can do someting like: ``` /* *= require flatpicker/dist/flatpicker */ ``` In your rails `app/a...
Tony Dehnke replied

Two Factor Authentication With Devise Discussion

22
General
Was looking at this the other week... perfect timing Chris. Legend.
vipulvkp replied

Sign In With Twitter using Omniauth and the Twitter gem Discussion

37
General
Excellent episode Chris! 2 off-episode questions: why does your version of Chrome have a "People" menu and any chance you'll post this to github?
Someone replied

Migrating From jQuery to Vanilla Javascript Discussion

47
General
`document.querySelectorAll` looks like return an array, but in fact it is an object. It's important to keep this in mind in order to avoid some problems iterating the dom elements.
Dan LeGrand replied

API Design Decisions

7
General
I'm designing & building an API for a company and have arrived at a decision point I can't figure out. we're providing access to records. right now they want to quickly integrate with one clie...
shakycode replied

Inviting Users with devise_invitable Discussion

46
General
What made you laugh at 7:25? Is that a bird?! When do we get meet her/him? :)
nikhil kumawat replied

In-App Navbar Notifications Discussion

55
General
Thank you thank you thank you!
Ken Hibino replied

Subscriptions with Stripe Discussion

96
General
Hey Chris! Not sure if this is just me, but there seems a problem downloading the video's.