Ruby on Rails Community Forum
How do i save a field in a separate table?
21
Rails
Hi all,
I want to save the brand_id i am creating in my users table how would i go about doing this? I currently have my code saving the brand.
````
def create
@brand = Brand.new(brand_params...
Chris Oliver replied
Solved
How do i fix my jquery-ui autocomplete problem (details below)?
1
General
I followed your tutorial on elastic search/search kick and implementing jquery autocomplete. It works when I use "Test" as the data, however when I try to use my data from posts table, it doesn't w...
Chris Oliver 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
Has any installed macOS Sierra yet?
8
General
Just curious if anyone is running macOS 10.12 Sierra yet, and if so, how are things with your dev environment? Specifically with Homebrew and such?
Jordan Godwin replied
Solved
Backing up Heroku PG and than pushing my brand new rails 5 app.
2
Servers
If you back up your Heroku PG database, this is storing all your users login info, right?
So can I delete my whole rails app, push up a brand new rails app (using devise and rails5) and than put ...
Masud Hossain replied
Solved
Hey how can I add "working days" to a task model and "working hours" to a shift?
0
General
Hey I would like to add "working days" to a task model and "working hours" on a shift model wich belongs to the task model.
So that I can select on which days a task will be repeatedly done and as...
Drilon Buzuku posted
FAO: Chris... URL Errors on pretty much any Rails site
3
Rails
Hi I've come across a really weird bug, not just in my project but on quite a few rails sites.
`https://gorails.com/users/sign_in?redirect_to=%2F` - **works fine**
`https://gorails.com/users/SIGN_...
Alan Reid replied
Solved
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
Issue with devise
2
Rails
Hi all,
I am getting this error when i reset passwords - it throws to this error message. It still sends out the email, and allows me to reset the password. Any ideas whats causing this so i can fi...
Bill Tihen replied
How do I showcase ruby skills for Backend Developer in Mind
0
General
Hi guys,
It may be out of topic but got to ask and get some help.
If We are going for Ruby Developer role (specifically for the Backend type), how do we showcase our skills ?
Is it by building a ...
Nahwin Rajan posted
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
Problems Viewing Videos
11
Site Feedback
I am having a lot of problems watching the videos here the last couple of weeks. Multiple videos on different laptops and different browsers. The videos freeze constantly and I have to reload the...
Thomas Bush replied
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 separate out the devise form like gorails.com (edit profile, edit password)?
3
General
I've followed this link https://github.com/plataformatec/devise/wiki/How-To:-Allow-users-to-edit-their-password, but would like to just use the update action and not have to use update_password &am...
Frank replied
Building an enterprise app that has revision control similar to github (any gem that does something similar to this?)
2
General
I'm looking to create a webapp that lets users upload and save files similar to github (except no terminal usage. Users upload through the website) and have version control so they can retrieve pre...
Masud Hossain replied
Video request: react-rails + caching
2
Site Feedback
idk if this is the best place to include screencast requests...
Would love to see advance tutorials on using react with rails. A specific one would be caching best practices in react.
Ayo Jimoh replied
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
rails vs node db transactions
0
General
Hi,
I am playing around with node.js and see promises everywhere even with db transactions. I was wondering why it is so different from rails.
For instance:
var db = require('mongodb-promis...
Sean M posted