Setting: To install praw into a Rails application is very simple, we just need to declare the gem line "prawn" in the Gemfile. Next, we need to run the command in the terminal bundle install Use...runte damaris replied
How can I use summernote editor in rails?
I am making a notebook app and wanted to implement the summernote text editor, the docs for summernote-rails are nearly 3 years old, and I could not find any other proper guides to implement it. An...Aayush Shrestha replied
Failed to run sidekiq properly to heroku
After deploying sidekiq to heroku, everything works properly except when I try to run a job I get this error Redis::CommandError: ERR invalid passwordJohn Nonso posted
How to add logo image to mailer
This approach is very interesting and I would like to understand and use it in a larger scale. Also, eagerly waiting for the Rolify video as promised :) So, the thing I don't fully understand h...Heidi Wilkerson replied
Issue when adding Confirmable in Devise - [ArgumentError - wrong number of arguments (given 0, expected 1)]
How do I get Multiple Output files with cssbundling-rails and Tailwind.
Thanks for sharing this Blake! I just chain mine together so I don't have the additional dependency. I'll have to do a screencast on multiple output files. 👍Chris Oliver replied
How do I search Action Text with Ransack?
Duplicates in the search result can be removed using the distinct option like so: @pagy, @discussions = pagy(@q.result(distinct: true))Mark Nelson replied • Solved
CSRF logging me out
Rails 5, Ruby 2.7. I'm getting the dreaded error "Can't verify CSRF token authenticity." and I'm being logged out and my tokens don't seem to match. This is happening on a new development machine ...Bruce Lulu posted
Rails 6, Webpacker and Docker on Apple M1
Hi Chris, I tried to leave a comment for episode #389 but was not successful. Not sure why. Anyway, I'm developing in Apple M1 and trying to dockerize a Rails 6 application, but running into a l...Gabriela Jack posted
how i can implement this functionality
Seller can perform CRUD on his/her listing(product i.e laptop) Seller can upload multiple product images.faheem ismail posted
How do I add embedded youtube video to a text field within active admin with simplemde markdown?
I solved this by adding "raw" in the view and I can now paste embed code into active admin <%=@post.content%> is now <%= raw(@post.content)%>Bruce replied
Date range option
Can any one tell me how to provide a Date Range option on one of the pages of my project???What changes needed to be done in index file and corresponding controller to show it?vinit rawat posted