Ruby on Rails Community Forum
Creating reports in Rails
2
Rails
Hi,
I used to develop software using the Microsoft stack for both desktop and web, now I'm trying Rails for web and I was just wondering how can I produce reports for the users to save/print. Say i...
Nelson replied
User-customizable roles? (best practices, ideas, examples)
1
Rails
I'm looking to implement a user-customizable roles feature in an application and I was wondering if anyone had any ideas, experiences, or good examples from other apps. I'm looking for ideas for bo...
Sean M replied
How to force a has_many association using a different column as foreign key
1
Rails
Stuck in a - at first sight - simple problem in RoR. I have two ActiveRecord models: Foo has many Bars.. But I want to bind them by "custom_id" (not the default id):
```
class Foo < Application...
Sean M replied
Thanks Chris, Just a small request.
0
Rails
Chris, I'm having a somewhat difficult time using and learning React on rails with webpacker and react-router and react-router-dom while using complex routing inside the react router and simultaneo...
ericscottmarquez posted
how do I exclude one field from being updated?
1
General
I wanted to achieve that a ceratin field can not be overwritten by an update process. instead to store the new input for that field in a new column.
Chris Oliver replied
How to read the source code of a web site in Ruby on Rails?
0
General
I'm an experienced software engineer, but new to rails. I have just started a hobby project rigy.io , which based on Sharetribe.
I have gone through a trailing material and got a basic knowledge o...
Julian posted
Can Anyone explain me these ruby codes?
1
Rails
Recently I am started learning ruby on rails. I am doing a project on ruby on rails. In my project there are some code in application.controller.rb . But I am not understanding the meaning of the c...
Sean M replied
Handling First & Last Name with the name_of_person gem Discussion
3
General
Great finding Chris 👍
Let's see what DHH think about https://github.com/basecamp/name_of_person/issues/2 😁
Mitchell Gould replied
Is there a link somewhere for the source code relevant to each webcast?
0
General
-eom
Noah Stern posted
How to scrape the right data in an API built in Rails 5.2.1
0
Ruby
Hello,
I'm working on API in Rails 5.2.1.
The API scope is to scrpae flight information from this 2 tables of the cph.dk site:
[Departures](https://www.cph.dk/en/flight-information/departures/)
[...
Jakub posted
Validation
0
Ruby
Hi folks,
I have one question about this issue.
I have a structure as follow: one table `user` with field `name`, `city` and other, and another table `client` that is some attributes and this tab...
Lucas Cunha posted
Please advise
0
Rails
I have a pdf ,i want to convert it to ruby form with vue.js and aslo writable. Do i have to create all the fields and style and images from start ..?
Please advise. Thank You
Kichu posted
Adding event to date on month calendar
0
Rails
I have the calendar set up and all is working great. Right now I just have a button on the Month calendar page that says add event. The form opens and you need to select the date. I would like to a...
Jeff Wolfram posted
How do I change the actioncable default path?
0
Rails
Hi there,
I have an ecommerce website that sells cables, and as such I'd like to use /cable, /cables etc in my base routes.
Unfortunately activecable uses the '/cable' path by default. Is there ...
Marcus S posted
integrating stimulus with ruby on rails
1
Ruby
Where does the Stimulus team recommend as best practice to put the JS controller files? For example, if I wanted to integrate a version of this walkthrough into an existing rails app?
Chris Oliver replied
rbenv: ruby: command not found The `ruby' command exists in these Ruby versions: 2.5.1
0
Rails
I installed ruby 2.5.1 and rail 5.2.1 on CentOS7 . I have an existing rail project which is 3.2.13. Now the existing rail project does not run in my local environment.
I create a new project on rai...
aysha posted
i am doing login and register page getting some error so i need your help?
0
Rails
i am doing login funcnality in my project using bcriypt but evry time i have getting error like "Can't verify CSRF token authenticity." than i am storing value in session than call another route t...
ravi posted
Braintree cancel subscription
0
Rails
Hi,
So, I implemented the braintree payment processing and everything works perfect. Now the only issue I am having is if I user cancels their subscription through my web application everything w...
Darren Booker posted
Rails Admin with has_many association
1
Rails
Hi all,
We are using rails_admin for manging our data on admin side.
We are facing an issue with has_many association ,** its executing the query to fetch the details and along with it also exec...
Keith Gapol replied
I am interested in embedding a BI visualization tool such as Metabase - What have you done?
0
Rails
I am really interested in embedding Metabase or a similar BI visualization tool for my clients.
My application has multiple daily entries that would be useful for them to disect. I find the tool in...
Keith Gapol posted