Skip to main content

Community

Subscribe to GoRails to join the conversation. Ask questions about your code, get help adding a new feature, and discuss implementation details with other members.

2 posts Gravatar

What's the best way to track file downloads (stats)?

General • Asked by Anthony M Pizzurro

Thanks to the videos here, I've implemented file upload with Shrine in my app. They are audio files, stored on s3, and made available to the public. I'd like to track the downloads and provide m...


2 posts Gravatar

Bootstrap 4 modal form in rails disables submit button on ajax refresh

Rails • Asked by nynhex

I've been struggling with this all day. Please see the link below. [Bootstrap 4 modal form in rails disables submit button on ajax refresh](https://stackoverflow.com/questions/44489517/bootstra...


1 post Gravatar

Creating drop down of customers with link to show action

Rails • Asked by John Stegman

I am transferring an MS Access db to Rails and I need to be able to have a drop down list of customers (last_name, first_name, id) that will allow me to select a customer and generate the customer ...


2 posts Gravatar

Workflow for TDD/BDD on Rails ?

Testing • Asked by Lykos

Hi, I'd like some feedback if possible about the workflow of TDD/BDD on a Rails app. I was doing a research the whole weekend trying to find some good examples on how to do porperly TDD on my Rails...


1 post Gravatar

Processing by EquipmentController#show as */*

Rails • Asked by John Stegman

I'm getting this response when I send a jquery get request to render the show page for a piece of equipment - or any other show page for any object in the rails app for that matter (customer, warra...


2 posts Gravatar

Call Api and Auto-Reload div.

Rails • Asked by Rodrigo

Hello! I want to setup a script that calls api from various webistes and retrieve data every n seconds. I'd like to setup a page where data(numbers) are showing auto-reload constantly. ...


1 post Gravatar

Devise authentication and API

Rails • Asked by Alex Musayev

I'm working on JSON REST API for an existing Rails application. Authentication is currently implemented with Devise. What could be potential pros and cons of using cookie-based user sessions for AP...


7 posts Gravatar

Use select_tag to link to customer show page

Rails • Asked by John Stegman

I'm converting a MS access databse to Rails. The database has a customer table of over 5,000 customers. I have imprted the customer table from the Acces db into the Rails postgres db. I can use ...


3 posts Gravatar

How Do I Create an App Where Each User Has A Separate Table

Databases • Asked by Vikram Sharma

Hi, I want to create a web app which is a simple HR SaaS. Each user/company which registers will have get a separate table to upload list of employees. In terms of autorization a user/company ca...


1 post Gravatar

How do I perform a Search without page reload (I think I need Angular/Turbolinks)

Javascript • Asked by Logan Houston

Hi Everyone, I am trying to make my app a SPA app, and accomplish most of this with erb templates, which I know is not ideal, but it works for now. I need help with performing a search and ...


1 post Gravatar

Sponsored Post Model?

Rails • Asked by Ketan Anjaria

i want to build a feature where on certain pages I could highlight different posts or jobs. Think of it like a sponsored google ad at the top of the rankings or a sponsored job post. It should be...


1 post Gravatar

Autocomplete search across multiple models with results from each model

Rails • Asked by nynhex

I'm building a simple wiki app and would like to introduce autocomplete search using Searchkick or pg_search. In the search box I'd like to be able to do a search across both an `Article` and `Cat...


4 posts Gravatar

Uploading a file from remote url using shrine?

Gems / Libraries • Asked by Roy Zinn

Hi, I need to upload a remote file to my S3 bucket (e.g., I get a link to a pdf e-ticket and I need to upload it from its location). In addition (as a bonus) what's the best way to allow users to ...


3 posts Gravatar

CMS in Rails

Rails • Asked by Tony Brown

I want to learn how to build a CMS or at least a blog engine with Rails. I think that would be awesome to have a full course on something, especially for beginners like me.


1 post Gravatar

How Do I Search Against Records Saved In Memory, and Not the Database?

Rails • Asked by Steve Polito

# Problem I have an event that starts Jan 1, 2017 and repeats every day until Dec 31, 2017. If I search for an event (using [ransack](https://github.com/activerecord-hackery/ransack)) that starts ...


4 posts Gravatar

My first 3 hour project for job application

General • Asked by Rails Addict

Hello, I made it past the phone screening and the next stage is that a robot will email me a project and I have a three hour window to complete it and then email them the results. This is for a...


1 post Gravatar

Recurring Select Accepts "Null" As a Valid Rule

Gems / Libraries • Asked by Steve Polito

I followed the Chris' excellent tutorial on [Recurring events with the ice_cube gem](https://gorails.com/episodes/recurring-events?autoplay=1). However, I was running into an issue when the value ...


2 posts Gravatar

How to build options on select tag with VueJS?

Javascript • Asked by Dmitry Amelchenko

For example, let's move to episode "using VueJS for Nested Forms in Rails" and adding model called Position, which association with a Player (belongs_to). And how to implement select tag for choos...


2 posts Gravatar

Question BEST_IN_PLACE

Gems / Libraries • Asked by Nicolás Bobb

In Rails 5 versions is it recommended to use the gem Best_in_place? What other alternative is there?


2 posts Gravatar

Using elasticsearch/searchkick to run a search bar via my navbar and show results in a search.html not index.html?

Rails • Asked by Omar Khedr

I just finished going over Chris's two great railscasts dealing with search. However, I wanted to put my search bar on my navbar so that whenever someone searches the results I will be taken to my...