
How do I Export a CSV file where it includes all the nested attributes?
16
Rails
Greetings:
I would like to export a CSV file where it includes all the nested attributes. I have an invoice model and a product model. Each invoice has many products. I am able to export to CSV fo...
Solved

Bye bye Heroku 👋 welcome Hatch 🐣 Deploying my first app, few trivial question :)
1
Servers
Hello,
Although I've been working with Rails for about 3 years now I was never resposible for deploying apps and dealing with servers – embarrassing, right? – apart from a side project I used Her...
Solved

Any good idea how to import CSV via Sendgrid email attachment and update model/database columns.
2
Rails
Basically receive incoming daily emails, with CSV attachment, then importing the CSV rows to your desired model/database.
Anyone done this before?
Thanks for any input.
Solved

How to add ssl to the CDN of AWS
1
General
Hi so I have a rails app with ssl from godadddy with a wildcard for subdomain. Now I move my assets to use CDN, but I need to use the ssl so all my subdomain use the assets with out getting CORS po...
Solved

Why after I switch controller and switch back again , the form submit button Failure?
13
General
after I switch the controller, and switch back, the form submit button Failure, if I refresh the page , it can works again.
the console and network no error log.
Solved

How do I rollback a database migration and then update it
1
Rails
Hi
I have added a column ( t.time "usual_start_time") to an exisitng table called Areas. (create_table "areas",)
create_table "areas", force: :cascade do |t|
t.string "location", ...
Solved

How can I subscribe a user when creating a new project?
7
Ruby
**How can I subscribe a user when creating a new project?**
I'm having a hard time on the `create` method. Currently this is my code:
### Projects controller
```ruby
def create
@project...
Solved

Does anyone have tips on setting up redis and sidekiq on a Digital Ocean ubuntu 16.04 droplet?
5
Rails
I have no trouble setting up redis but for some reason I can't get sidekiq to work. I can get sidekiq and redis to work locally on a mac using brew but not on a Digital Ocean Ubuntu 16.04 server.
...
Solved

link_to question
1
Rails
I'm working on a project management app that has a dashboard which links to tasks that are overdue, due today, this week, next week etc.
I can display the task titles fine but can't get the links...
Solved

Stripe gems: Koudoku or Payola
4
Rails
Has anyone used either https://github.com/andrewculver/koudoku or https://github.com/payolapayments/payola ? If yes, are you able to give any feedback regarding ease of use, ability to customise, e...
Solved

Nested Forms Tutorial: How do you display the Tasks in the Project Index and Show Views?
2
Rails
I am trying to display the Tasks on the Products#index and get Type Error in Projects#index
"can't cast Enumerator"
How can I display attributes from tasks on the Products views?
Here's my code...
Solved

Looking for Sr. RoR developer/consultant for SaaS web application
3
General
Greetings! I currently work for an agency that has developed an in-house project management solution in RoR. We are looking for a person and/or team that can support and guide/shape the application...
ViolentLeopard replied
Solved

How do I share my master.key with capistrano deployment
1
Rails
After following the guide [Deploy Ruby on Rails on ubuntu 18.04](https://gorails.com/deploy/ubuntu/18.04) I still have several problems with the app. Shows me the same error when rails can't find ...
Erica McDevitt replied
Solved

Could I deploy two different apps on the same server?
6
Servers
Hello everyone,
Yesterday, I started using HatchBox to deploy my Rails applications and it is working just fine.
I was thinking about deploying 2 Rails applications on the same Vultr | 1GB RAM | ...
Solved

Configure Redis Session Store
0
Rails
Seems pretty straight forward however, I am getting an invalid authenticity token error upon form post with my app.
Here's what I have set in config/environments/development.rb:
```
config.sessi...
Derek Dyer replied
Solved

simple_discussion gem vs. discourse for lightweight forum
3
Gems / Libraries
Just checked out the simple_discussion gem (extracted from the GoRails forum here). It looks like exactly what I need for a small forum project.
I'm wondering if anyone else has used the gem in p...
Chris Oliver replied
Solved

New Project Rails 6 rc1 or 5.2.3?
5
General
Rails 6 should be just around the corner once they fix a couple of bugs/regressions. Since you probably won't be finished with your app by then, you won't have to worry about the upgrade if you sta...
Lardius replied
Solved

Best way to create a belongs_to object from a has_many
19
General
Sorry for the vague title but I cant think of a better explanation! Let's say I have a list of Users and an admin could click a button/link that would create a site for them from the existing ...
alangosh replied
Solved