How do I search Action Text with Ransack?
9
Rails
I have set up a basic search using Ransack but I don't understand how to get it to search Action Text. This is how it is implimented in the search_form_for:
f.search_field :title_or_rcontent_or_c...
Jay Killeen replied
Solved
Hatchox deploy
3
Servers
Hi Chris, I get this following error while try to deploy -----> Connecting to web-app (000.00.114.236) as root
Net::SSH::Connection::Session::CommandFailed: Command "mkdir -p .hatch"...
Solved
Rails 7.0.0rc1
3
Rails
Been playing around with Rails 7 aphla2 and yesterday they released an RC version. In my Rails 7 test app, which was previously running alpha2, ran ```bundle update``` it updated everything to the ...
Solved
How do I solve questions in the forum?
2
General
How do I solve questions in the forum?
Sahil replied
Solved
Is there an admin like Django or Laravel's Nova
3
Rails
Newbie to Ruby / RoR - got into Django since 2 yrs and started learning Laravel - one thing I want to know before I delve into it, is if RoR provides a backend admin like Django or an external pack...
claudiastuart replied
Solved
Modified Cyclomatic Complexity
1
Ruby
Do you know of a tool that does modified cyclomatic complexity analysis of Ruby code? Lizard does not do it correctly for Ruby, and I could not find a modified option on Rubocop.
Solved
Renew price for my subscription
2
Site Feedback
so I got my subscription last black Friday, I was wondering what would be the renewal price. do I keep the same discount? or does it goes back to the normal price?
ddokiajju replied
Solved
How do I create an input field for a polymorphic association?
7
Rails
For the sake of this question, lets assume I run a hotel and I want to make a system that manages the bookings of my hotel rooms.
While most of the time I book `Guests` in my hotel rooms, `Employe...
Solved
Which video...
1
General
Hello all,
Would someone please help me find the video in which Chris demonstrates how to check if a partial exists before calling it?
Regards...
Bruce Lulu replied
Solved
/app/vendor/bundle/ruby/2.7.0/gems/puma-5.6.5/lib/puma/launcher.rb:81:in `chdir': No such file or directory @ dir_s_chdir - /var/www/admin/ (Errno::ENOENT)
0
General
I have deploy my rails app to heroku
my ruby version is 2.7.6
alihamza174 posted
Solved
How do i use tom-select with stimulus and hotwire?
3
Rails
I'm using tom-select to either select from the options or create record in the modal. The problem happens when the form submits successfully and that newly created record is now have been selected ...
Archonic replied
Solved
I want to click on dynamically created HTML elements in stimulus js.
1
Javascript
for example in jquery we do this =>
So instead of...
$(".myclass").click( function() {
// do something
});
We do this....
$('body').on('click', 'a.myclass', function() {
// do somethi...
Abdul Basit Khan replied
Solved
Would you like to use Rails to improve someone's mental health?
3
General
Hey all,
I’m a product owner for a mental health NPO, HeartSupport. I have a team of 3 volunteer RoR devs that have built an MVP for a product that will scale mental health support across the inte...
Solved
Active-storage creating/uploading folder
4
Ruby
Have any of you guys worked on a project where you can upload or create folders inside your active-storage attachment model? In another words or better way of describing, imagine you have a model c...
leochad82 replied
Solved
Devise: Separate pages for account update and password
7
Gems / Libraries
Nothing too fancy. `users/edit` comes from Devise. `password/edit` is a passwords controller I added.
Fabiana Ramos replied
Solved
User Profile with devise
2
Gems / Libraries
Hello I'm new to rails and I am trying to work with the has_one association. I'm using Devise for authentication. I was each user to have a profile (which will include their address and some other ...
Solved
Why is this image_tag not working?
2
Rails
If I try and put this code:
```
<% if notification.actor.avatar.attached? %>
<%= image_tag notification.actor.avatar.variant(combine_options: {resize: '150x150^', extent: '150x150', ...
Aproplat replied
Solved
How do I install Google tag manager in a rails 5 app?!
4
General
Hi guys, I'm having a hard time trying to know how to install GTM in my new rails app. I searched for some time but found nothing to guide me through it!
Solved
How do I configure GlobalID in a Rails app?
1
Rails
I am working through an elaboration on the recent screencast, using GlobalID to build references to polymorphic associations, but I need to be able to take advantage of the GlobalID.app= method, an...
Walter Davis replied
Solved
Nested Comments in Rails Part 2, nested comments are showing in reverse order
2
Rails
I am trying to implement nested comments with max_nested comments as described in this episode:
https://gorails.com/episodes/nested-comment-threads-in-rails-part-2?autoplay=1
I'm at approximately...
Solved