Ruby on Rails Community Forum
gem administrate
0
Rails
ActionView::Template::Error (uninitialized constant ActiveStorage::AttachmentDashboard):
17:
18: <% if field.linkable? %>
19: <%= link_to(
20: field.display_associat...
chedi posted
Create Customer Url
2
Rails
Hello @chris and fellow members. I am new to rails and I was seeking help on how to create a url like "mydomain.com/5047315/projects/21789643 where is *5047315* the user account number ?
Regards,
...
karatepicke replied
Solved
How do i make a Courses - Chapter - Lesson Nesting!?
0
Rails
Hi all,
im new to Ruby on Rails and new to GoRails. I try to connect 3 tables.
My Models:
**Course.rb:**
class Course < ApplicationRecord
has_many :chapters
has_many :lessons, through...
Corlett Nils posted
Getting NoMethodError while calling method from Model_name.rb
0
Rails
I am testing a model class method from 'rails console' called "progress" which is inside class 'Okr' as 'Okr.progess'. But getting NoMethodError (undefined method `progress' for Okr (call 'Okr.conn...
deepkhajanchi posted
Pitch: Replicate the Basecamp Jump Menu
0
Site Feedback
Hi Chris,
i find the Basecamp Jump Menu to be a great feature and would love to see a video (or series) on a re-implementation with Stimulus https://3.basecamp-help.com/article/80-using-the-jump-...
Drazen posted
Dynamic Dropdown without JQuery
1
Javascript
I have 2 dynamic dropdowns that are placed on the end of a form (simple_form). The select works only once. If I select once more optgroups1 and optgroups2 is empty. On load both variables are set ...
Herbert Schmoll replied
Using the Freshdesk/Freshdesk Widget with Turbolinks
0
Rails
Hello,
I’ve been using the Freshdesk widget on my production app for a while now. I want to be able to pre-fill a user's email address as well as automatically set the ticket priority for my paid ...
Nadia posted
How do I implement advanced search?
0
Rails
Hi all,
I'm currently working on re-building a search feature, we have a basic search and an advanced search, I have a basic text search form working for the name, however, I can't seem to get an ...
Ben John Bagley posted
Trying to understand Redirect back to current page after sign in, sign out, sign up, update DEVISE
0
Rails
I am aware of these guides:
- [https://github.com/heartcombo/devise/wiki/How-To:-[Redirect-back-to-current-page-after-sign-in,-sign-out,-sign-up,-update]](https://github.com/heartcombo/devise/wiki...
Leon Entrup posted
How do I listen for dropdown changes in a collection_select field using Stimulus?
1
Rails
I found this issue on SO which pretty much is my issue:
https://stackoverflow.com/questions/63964037/cant-make-stimulus-js-data-action-in-collection-select-rails-6
But I can't make that solution w...
Nicolás Kruk replied
Solved
How do I access the Google Adwords API to build custom reports for my clients.
3
Rails
Hey! Just looking to learn how APIs work - and how I can access the Google Adwords & the Google Analytics APIs to get data from them and create custom reports for a client. New to APIs - so jus...
DartManson replied
installed RoR, now what?
3
General
after installing RoR, what is next? i looked around the guides and screencasts and all of them assume you already have experience with RoR!
where is the tutorial for newbie RoR developers?
how to ...
helen560 replied
Searchick filter with scope
11
Gems / Libraries
Has anybody used searchkick with a scoped model?
I have an `Article` model with `scope :published, ->{ where(status: "Published") }`.
So In my `ArticleController` I did the following:
```
quer...
Owen replied
Solved
How do I filter records through other models
1
Rails
Desired result:
I want 2 things:
In my list of aggregation links I want to be able to add the aggregation of property characteristics (e.g., properties with a balcony), property type (e.g., villa...
Owen replied
I have problems when changing Rails bundler version
0
General
After cloning a rails project on Github and running the command "rails s", the machine needs to get the older bundle> = 1 .3 && <2.0 (my current version is 2.1.4). I went to the homep...
Nguyen Quy Long posted
Storing access/refresh tokens for application level API
1
Rails
I am working on an application that integrates with Keap (a CRM). The integration with Keap is at the application level in that it only connects to one Keap account, and isn't a connection per user...
RJ McCollam replied
Cookies vs token for authentication
4
General
You can keep a users session logged in by putting their cookies into the browser .
But what about if youre using token based authentication instead and the users browser doesn't allow cookies ? ...
Deploy Ubuntu 20.04 Focal Fossa Discussion
0
General
Rails 6 webpacker with theme implementation error.
0
Rails
I am creating one rails application with the latest version 6.1.3 and ruby version 2.7.2. I have one old theme and I want to integrate it into my application.
But somehow I can not able to integra...
bhadresh chotaliya posted
How do I overlay form fields in a PDF?
2
General
You typically see this feature in the electronic signature apps, like Docusign and HelloSign where a user can upload PDF versions of documents and use a drag and drop tool to map fields they would ...