Skip to main content
Gravatar
User create Dynamic Role base
General • Asked by Francisco Quinones
Hi! So my app uses CanCanCan and Devise for working with users. Now the app needs to have a feature where users can create role. How can I approach this new task. Example: Admin(User) can crea...

Gravatar
How do i fix my jquery-ui autocomplete problem (details below)?
General Solved • Asked by Kosta Pontidas
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...

Gravatar
How do I use Let's Encrypt to get and automate SSL on ubuntu, nginx server
General • Asked by Thomas Bush
I was thinking maybe this could be a tutorial/guide request? I always use the GoRails guides to setup my ubuntu, nginx, passenger servers(thanks!) I am having trouble figuring out how to use ...

Gravatar
Active PAGES & User(s)
General • Asked by Menj Villalobos
Hi, Do you have any tutorials or guide on how to show/list all active "pages" & "users"? ex. Home Page, one "div" will list all active pages where the user(s) currently viewing or browsing...

Gravatar
FAO: Chris... URL Errors on pretty much any Rails site
Rails Solved • Asked by Alan Reid
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/SI...

Gravatar
Backing up Heroku PG and than pushing my brand new rails 5 app.
Servers Solved • Asked by Masud Hossain
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 pu...

Gravatar
Hey how can I add "working days" to a task model and "working hours" to a shift?
General • Asked by Drilon Buzuku
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 a...

Gravatar
Controller naming...
Rails Solved • Asked by Alan Reid
Evening all, So i have a question about naming controllers. Which would be best to use? MyOrder or MyOrders Is it just the DB which get pluralised?

Gravatar
How do i save a field in a separate table when using devise?
Rails Solved • Asked by Alan Reid
I am using devise for my users, during sign up i have an extra field i want to store in a different table in my Postgres DB. How would i go about storing this extra field? So a **company** `has_...

Gravatar
How do I make certain partials show everywhere (ie navbar)?
General Solved • Asked by Masud Hossain
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 conver...

Gravatar
Devise: Add a select to my signup form
Rails • Asked by Alan Reid
Hi all, me again! haha So i have got my app working as i want so far. All is good and i am picking up Rails really quickly thanks to GoRails. I am however a little stuck, I can't seem to add in...

Gravatar
Issue with devise
Rails • Asked by Alan Reid
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 f...

Gravatar
Deploying Rails App on UBUNTU Server - ERROR
General • Asked by Menj Villalobos
Hi anyone encountered same issue/error? ``` deploy:assets:precompile 01 /home/deploy/.rbenv//bin/rbenv exec bundle exec rake assets:precompile 01 rake aborted! 01 Psych::Sy...

Gravatar
Installing RoR on macOS machine
General • Asked by Menj Villalobos
Hi, I would like to ask if you can help me with this error while installing RoR on my mac machine running on a macOS 10.12 version. Based on this guide https://gorails.com/setup/osx/10.12-sierra ...

Gravatar
How do I showcase ruby skills for Backend Developer in Mind
General • Asked by Nahwin Rajan
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 buildi...

Gravatar
Video Series on Security for rails?
Site Feedback Solved • Asked by Masud Hossain
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.

Gravatar
Need someone to look over this to make sure i am on the right track...
General Solved • Asked by Alan Reid
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** wh...

Gravatar
Properly adding Turbolinks 5 event handling
General • Asked by Chris Zempel
Here's what I understand: * Turbolinks preserves the `window` and `document` from request to request * As a result, I should add click/change listeners to the window/document once when the js i...

Gravatar
Whats the best way to deal with JS in Rails?
Rails Solved • Asked by Alan Reid
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...

Gravatar
A series on Turbolinks 5
Site Feedback • Asked by Marek Prihoda
Reading through the Turbolinks 5 documentation, there are mentions of several use cases, like eg. in the Making Transformations Idempotent sections (but there are more). It would be great if you co...