
How to fix params require for form_for contact in multi controller view
1
Rails
I have a problem in my contact form_for, I have one contact form and I want to render my contact form in my product view. If I make that I have a problem with my require params
My contact_params w...
Anthony BESSON replied
Solved

Send in-app invitations?
0
Rails
I'm building a platform where Users belong to Teams, and I want whoever creates a team to:
a) Be added as a team member, potentially with a particular status ("team_owner")
b) Be able to send inv...
David Oudiette posted

Have Stripe public key show up
3
Rails
Hi Chris,
I went through the master class for Stripe and your DigitalOcean tutorial. Attempting to combine my knowledge. I was able to deploy the app:
http://165.22.132.173/pricing
As you can se...
Chris Oliver replied
Solved

public/javascript/lib files not available in production
5
Rails
I have added some javascript files to pubic/javascripts/lib and I have referenced them thus
... type="text/javascript" src="/javascripts/lib/add_all_plots.js" ...
They can be loaded in dev no p...
Chris Oliver replied

How to integrate NTLM ?
0
Rails
How to integrate NTLM Authenticate to Microsoft's Active Directory ?
Viral Mistry posted

How to add an image to prawn pdf?
0
Rails
I'm wondering how to add an image to a prawn pdf from active storage. I've tried a number of ways and can't seem to get it to render.
Thanks in advance,
Steve
Stephen Sizer posted

Archive old pages to a static page
1
Rails
Maybe a weird question, but I have a report dashboard application, where a specific report contains a lot of records in the database. In general users only check the last 3 reports frequently, so I...
Jesus Castello replied

Multiple forms one submit.
0
Rails
Hi there!
I've a view that needs to generate a form table, based on clients and days. For 7 days it creates
View (i've tried to do
<%= form_for @effort, data: {remote: true} do |f| %>
...
kriera posted

jquery doesn't work in js.erb file
2
Rails
Hey I'm working on an rails 6 application and try to render an partial in an js.erb file but get this error in the chrome console:
> Uncaught TypeError: Cannot read property 'append' of null
...
Steven Torrence replied
Solved

How do I change timezone in Ahoy analitics gem ?
1
Rails
I search a lot but no result
ramzieus replied
Solved

Fullcalendar-Scheduler Timeline is not show events in Rails 5.0
0
Rails
Hello, I am using postgres as database, rails 5.0 and ruby 2.4. The problem is, that I have this pur html calendar unsing timeline and timegrid, works ok, when I pass it to my RoR project, only wor...
erniux third posted

How to post remote action and no redirect? ActionCable Series
0
Rails
Trying to submit a form that has a create action in another controller but does not redirect to or render the page (just stay on the page).
Error:
```
MessagesController#create is missing a templa...
BrandonKlotz posted

Refactoring controllers to keep them RESTful
3
Rails
Hi gang
I have a feature where a user can query the Google Books API with an ISBN number and get the book as a response. I have this all working nicely, but I'd like to refactor my `Books` control...
Nino Rosella replied
Solved

how do i mount a full Vue template into my rails app
1
Rails
I'm preparing for a hackaton and my teammate built a Vue app for the frontend.
I've installed rails and vue webpack, and Vue is working well.
But I don't know how to incorporate the Vue frontend m...
Tabish Iqbal replied

Adding an inline style to a Datetime_select field in simple_form
3
Rails
How do I add an inline style to a Datetime_select field in simple_form?
What I would like to have worked (this is in Slim):
`= f.datetime_select :published_at, style="width:auto;"`
but this isn't...
ramzieus replied

rails 4.2.8 - stylesheet_link_tag throws ActionView::Template::Error: no implicit conversion of nil into String
0
Rails
I'm trying to update a rails app which runs totally fine if I use rails 4.2.4 (the version it's been developed on) upto rails 4.2.7
As soon as I switch to rails 4.2.8 or later (tested all versio...
Widu Wittekindt posted

Rubu auth without gems
1
Rails
Hello, i'm new to the forum and I am in urgent need of help.
I have a client that is asking to change the basic auth in his rails app to an auth that uses a web form, in a page, instead of an ugly...
Chris Oliver replied

How do populate select box with filtered options in cocoons nested forms
0
Rails
Hi,
I have been having having a challenging problem as my rails skill is still not great.
I am using a cocoons gem to generate nested forms. I have three models `Employee` , `Competence` and ...
hemmpa posted

Request for code review
1
Rails
Hello.
Can I ask for a little review of my code?
I have been a php-developer for a long time. I really want to learn professional programming on rubi / ruby on rails.
This is my [class](https://git...
Tabish Iqbal replied
Solved

Slack OAuth Error: Invalid client_id parameter
0
Rails
Hi guys! I'm getting this `OAuth Error: Invalid client_id parameter` after I insert the user creds.
Here is my code contains the `client_id` -
`devise.rb`:
``` config.omniauth :slack,
...
Ben posted