Search Results for "where-any-vs-exists-discussion"

Lessons





















Forum Threads

Where Any? vs Exists? Discussion

0
General

Setup Ubuntu 16.04 Xenial Xerus Discussion

110
General
Don't use "ssh-keygen -t rsa", use "-t dsa", much safer and not owned by NSA.... ;-)
Someone 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

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

Pull data from another table in a lookup

53
Rails
Hi all, I am looking up a list of articles, depending on the brand ID's - `@articles = Article.where(brand_id: brand_ids)` what i would like to know is there a way to retrieve the brand name in thi...
Jacob Montgomery replied
Solved

Rails 5.2 - Encrypted Credentials Discussion

6
General
Great tutorial!
Stan replied

Preferences & Settings with ActiveRecord::Store Discussion

24
General
Great stuff
sthapit replied

Advanced Caching with User Permissions and Authorization Discussion

25
General
A great episode again Chris! I wish you had released this one a week earlier though :). It would have made my life way easier. Could you tell me if there is any advantage of using meta tag like &...

Rails 6 With Full Vue Frontend vs Sprinkled Vue Components

4
Rails
I'm struggling to decide how best to integrate Vue in my Rails 6 app. 🤔 I've read [some tutorials](https://web-crunch.com/ruby-on-rails-api-vue-js/) that suggest using Rails as API with Vue as fro...
Tabish Iqbal replied

Best strategy for downloading multiple files from S3

7
General
Im working on a rails app where Users can create a “project”. Project, has many datafiles. Users upload multiple files direct to Amazon S3 (im using carrierwave). I'd like Users to have the abilil...

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

Multi Model Sign-up Wizard

7
Rails
Related to my previous thread (https://gorails.com/forum/structure-guidance-multi-tenancy-authentication-authorization) I plan to have authorization with Devise and some sort of role based system (...
Dan Tappin replied
Solved

Ruby question - Generating a nested hash with group_by

5
Ruby
I'm trying to create a nested hash. I have a hash with the year as the key and an amount for that year. hash = {2017 => 55000, 2018 =>55500, 2019 => 60000} I need to divide the amount for...
Chris Oliver replied

Structure Guidance - Multi Tenancy Authentication / Authorization

19
Rails
I while back I was playing around building an app where you had multiple tenants (Company Model) and a single login (User Model). I then created roles (Role Model) to link the users to the tenants....
BKSpurgeon replied

Any Rails code documentation best practices? Yard vs Rdoc?

0
Rails
Main question: I've been looking into documenting my own code, and came across Yard and Rdoc. Right now, just trying it out, I have Yard installed. But are there other alternatives out there that I...
Yi Mei Wang posted

Where do I start?

3
General
I'm here the first time in Go Rails and don't understand where do I start. Please recommend me a course or is there any learning path like other sites?

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.

Spree commerce vs custom solution from scratch

5
General
Hey Chris, like most people already mentioned, awesome content on GoRails.com. I love how you give additional explanation to how things work and not just a step by step tutorial how to make somethi...
William Gillett replied

Accepts_nested_attributes vs the regular way.

0
Rails
So I've spent the last couple days working with `accepts_nested_attributes_for` in an effort to understand them (I've never used them before). I've used a variety of sources (GoRails video of cour...
John Magee posted