Skip to main content
Gravatar
Routing Error No route matches [POST] when submitting ActionMailer
Rails Solved • Asked by Ben John Bagley
I have created a form but I'm having issues submitting the form, it's not getting the right route, I'm sure this is a simple fix, I'm just not seeing it. Here are the relevant files: `new.htm...

Gravatar
On what server is Gorails hosted?
Servers Solved • Asked by Nicolás Bobb
On what server is Gorails hosted? I'm looking for one for a project

Gravatar
EAV Rails way?
Rails • Asked by Anand Padia
Hi Team, I was trying to explore possibility of using EAV (Entity-Attribute-Value) pattern in our application. We are a ecommerce solution and would need Product variants to be captured, I did s...

Gravatar
Using React
Rails Solved • Asked by Melanie
I'm trying to learn how to use react in my rails 5 app. I've just finished following Kenny Hibino's you tube series for his medium clone. He used react-rails gem, but then realised he wanted to...

Gravatar
BDD in a real project
General • Asked by Wei Shi
Hi, Chris, I just subscribed to GoRails. Thanks for bringing us this great site. I really enjoy watching episodes, and I believe Go Rails has the potential to become one of the major resources ...

Gravatar
One form, two separate controllers, created at once.
Rails Solved • Asked by Masud Hossain
I'm trying to create a sign_up form where the user will choose his email + password AND and Article at the same time as creating a user account. So assentially, one form will create a new Use...

Gravatar
Opt-in to receiving thread notifications
Site Feedback Solved • Asked by Nick McNeany
Hey Chris, It would be great if users had the ability to opt-in to receiving new thread post notifications. Sometimes I like to just throw my two cents in, but don't really intend on following ...

Gravatar
How to perform bulk update in rails?
Databases • Asked by Srinivasa Varma
Hi there, Here is the problem in more detail. I tried to perform bulk update on rails model, but ended up with normal save method. I have some number of records and i wanted to update their valu...

Gravatar
What are the best practices for generating SEO friendly urls in Rails 5?
Rails Solved • Asked by William Kennedy
What is the best way to generate SEO friendly urls? The Rails default is to put the id in the URL e.g articles/2 I want to be able to have a url like this articles/article-heading Prev...

Gravatar
What is your dream app?
General • Asked by shakycode
If you could build anything (think outside of the box), what would it be? Things I'm working on that are fun to build: * Whisper clone with material design UI for mobile and web * Anonymous ...

Gravatar
Duration of a video in the listing page
Site Feedback • Asked by rabin prithvi
Duration of a video in the listing page would be highly useful to select a video to watch.

Gravatar
`fresh_when` usage for dynamic queries
Rails • Asked by Nicolas Brousse
Hey! I'm recently looking to use `fresh_when` method on my `PostController`. ```ruby class PostsController < ApplicationController def index @posts = Post.published.order(published_a...

Gravatar
Optimizing Queries in Service Objects
Ruby Solved • Asked by Jacob Warren
I'm currently building an app and using namespaced service objects containing a single call method in each class. Below is an actual method (I'm aware the ABC size is too large, I'm wanting to g...

Gravatar
Is possible to check boolean value by JS?
Javascript • Asked by Dmitry Amelchenko
In Rails 4 app i need to implement bootstrap modal when user comes for first time and accept the terms. I'm trying to do something like this: **application.html.haml** ``` ... = content_tag :b...

Gravatar
Just sharing: Squash your migrations
General • Asked by Roman Storm
I've gone into problem when my test db is using sqlite and I use postgres in prod Sqlite doesn't have `inet` attribute like postgres and I went into some old migration that I don't use anymore. S...

Gravatar
Resource on how to do filters with checkboxes
General • Asked by Masud Hossain
I'm trying to create a way to filter my User results based on these filters. I'm looking for a guide with example on how to do this. http://image.prntscr.com/image/07e7113ac239436fa129fa874b5ac...

Gravatar
Simple_form Chrome browser bug
General • Asked by Stan Smith
This is annoying. The select menus are overlapping in Chrome. ![](https://s3.amazonaws.com/ps-toolbox/downloadables/toolbox_pushingsocial_com_articles_culture-branding-checklist_edit.jpg) Has ...

Gravatar
Rail API Knock User Authentication
Rails • Asked by Anand Padia
Application Strucutre **Rails API** user model & controller - CRUD blog model & controller - CRUD comments model & controller - CRUD Standard Blog App with Knock Authentication for access To...

Gravatar
How do I mark content as "seen" or "read" when it's in the user's view?
Rails • Asked by Sam
Hi everyone, I'm trying to mark messages as "seen" when the div has entered the user's view (for example, the Facebook behavior of seen posts). My current attempt is a mix of the Unread gem (htt...

Gravatar
How to delete records in a join table?
Rails • Asked by Adrian DeGus
I'm using Refile for uploads and am having a tough time figuring out how to delete individual files. I need to display a delete link under each thumbnail, so my first thought was to do something li...