
How do I use carrierwave and a custom process to upload an unzipped folder to s3
4
Gems / Libraries
## Goal
- I take accept a zip file containing some config files as well as 2 folders filled with images
- Unzip the folder
- run a method to standardize the sub folder and image names as well as re...
Thomas Bush replied
Solved

How do I make certain partials show everywhere (ie navbar)?
2
General
I'm trying to have my 'conversations' partial which is a list of all active conversations show up on the navbar, but of course I'm getting a no method error.
I figured you can copy the conversat...
Jacob Montgomery replied
Solved

Video Series on Security for rails?
1
Site Feedback
Is there any videos for best practice security routines for Rails? Things to do or not do so that your rails app isn't compromised by hackers.
Chris Oliver replied
Solved

Need someone to look over this to make sure i am on the right track...
8
General
So this site i am building goes something like this.
I need to let **users** log in and manage their **brands**, each **brand** belongs to a **company**. A **company** can have many **users** whic...
Alan Reid replied
Solved

Whats the best way to deal with JS in Rails?
1
Rails
In my quest to ever understand rails, i notice that Rails adds a few JS files to the bottom on my page.
Whats the best way to deal with this?
Looking at the likes of AirBNB they don't have this, s...
Alan Reid replied
Solved

How do I find the best place to store user videos and how to capture them?
4
General
I want to create an app which will provide to user the opportunity to capture from their PC (by using webcamera and Mic) series of videos and save them under his profile. My concerns/questions are:...
Giorgos Psathas replied
Solved

Multi select form & DB search
1
General
Hi there,
I want to allow a user to select multiple brands and teams in a select form field. I am using the user's input to create CSV through running a query.
So far I only can query single tea...
Chris Oliver replied
Solved

How do i create another table when a user signs up?
2
Rails
When a user signs up, i ask them for their company name so i can then associate that user with a company. How would i go about doing this? I am using devise, so somehow i will need to store the com...
Alan Reid replied
Solved

Putting SignIn and SignUp in single page using devise rails
2
Rails
Is it possible to have sign in and sign up forms on the same page,and after sign in or sign up redirect to the index page?like twitter or facebook?
Alvi Mahadi replied
Solved

Is anyone using Rails 5 yet?
6
Rails
The setup guides on the site recommend using Rails 4.2.6. I'm curious to know if we should be using Rails 5 now as it's been out for almost a month?
Cheers
Alan Reid replied
Solved

Devise redirects to /users when there is an error editing profile
6
Gems / Libraries
I would like to know how i can change the redirect path so that when my editing a user fails it redirects back to `users/edit` and not to `/users`.
To replicate this i am entering a duplicate emai...
Alan Reid replied
Solved

Is there a good reason to not use keyword arguments always?
1
General
I have used keyword arguments for some of my methods before, but haven't really thought about why not use it for all methods with arguments?
Seems like there is no good reason to have the caller ...
Chris Oliver replied
Solved

What to use for multistep(wizards) in 2016?
1
General
Hey Chris,
As of July 2016 what gem/solution would you use to create multistep forms? I have found a couple of solutions but couldn't decide what to choose. They kinda seemed a bit obsolete. It's ...
Chase O replied
Solved

Is it possible to manually mark as watched an episode?
1
General
Hi Chris.
Would it be possible to add a feature on GoRails in order to manually "mark as watched" an episode?
When I randomly select an episode to watch, I would like to list only those that I have...
Chris Oliver replied
Solved

Better Errors ignore 404 errors
3
Rails
I'm using better_errors gem to track errors better. Any idea how to make it ignore 404 or ActiveRecord::RecordNotFound exceptions? I want to test to make sure my 404 page is working correctly and I...
Chris Oliver replied
Solved

How to link the liked posts by each user?
3
General
I just finished with the [Liking Posts](https://gorails.com/episodes/liking-posts?autoplay=1) screencast. All good. I managed to create a User Profile. And now I'm trying to display the liked post...
Chris Oliver replied
Solved

Setting up “Next post” and “Previous post”
2
General
In my blog application I want to have a **"Previous post"** link and a **"Next post"** link in the bottom of my show view. But I'm having a hard time getting it to work. What am I missing?
**This...
Chris Oliver replied
Solved

Stripe Subscription with Initial setup fee
3
Gems / Libraries
Hey Everyone,
I'm building a relatively simple subscription based app using Stripe, Devise, Pundit and a few other resources. My only real hangup at the moment is that the subscription requires an...
Jake replied
Solved

Calling function from handling click event issue
8
General
Hi Everyone
Using the UJS approach Chis showed in the NavBar notifications screencasts, I'm trying to implement something similar, and having very strange issue that I can't even imagine what's th...
Michael Derzhavets replied
Solved

How to I use Refile as Upload in a polymorphic way? I have managed to use it that way but i am struggling on destroy image after uploading
1
General
Here is the Schema for Uploads
```ruby
create_table "uploads", force: :cascade do |t|
t.string "file"
t.string "file_id"
t.string "file_filename"
t.integer "file_size"
...
Chris Oliver replied
Solved