
Nested Comment Threads in Rails - Part 2 Discussion
4
General
There's a security vulnerability in the code which allows any authenticated user to delete anyone else's comment. While there's a check in view (`if comment.user == current_user`) for showing the d...
icyclisttreacle replied

URL Based multi tenancy
10
General
I'm new to Ruby on Rails, trying my best to catch up. for example... i've a domain and a username append to it, www.domain.com/samsoft, how can i achieve this and also routing? sample code will be ...
Chris Oliver replied
Solved

How to write APIs?!
2
General
Not sure if this is the best place to ask this, but are you guys planing on maybe creating some beginners screen casts on how to write APIs with Rails?
MatthewSanders replied

Creating Passwords Through A Join Table Discussion
0
General
Nice cat =)
Jaroslav Horák posted

Writing an ActiveRecord adapter
0
Rails
Since none currently exists, I'd like to write my own ActiveRecord adapter for the Immudb database. However, I've been searching for a while online and can't find any good resources on how to write...
DEEPAK KUMAR posted

Automated way to do multilingual in existing rails application
0
Rails
I have existing rails application . Currently no language support and now need to do language support . Is there any tools , gem etc which will help me to find static word from erb/helper/model etc...
Mitesh Kumar posted

Rails for Beginners Part 23: Rails Credentials Discussion
26
General
When I try to do rails credentials:edit I get the following error
No $EDITOR to open file in. Assign one like this:
EDITOR="mate --wait" bin/rails credentials:edit
I did copy and paste what it s...
Jess Antunes replied

Need a suggestion on the approach I should take to implement the multi-version surveys system.
0
General
I have an existing survey feature in my application. As standard, a survey has many questions, and many answers are submitted against a question by different users. There is a result model per surv...
Infinikorn posted

Commontator with Trix
3
Gems / Libraries
Good day robots,
I'm trying to implement the Trix editor as the default editor for Commontator's comments.
The default Commontator view is defined as follows in `app\views\commontator\comments\_f...
Solved

SQLite3::SQLException: no such column:
1
Rails
I'm trying to make a blogging app with rails and I'm currently trying to add a comment section. When I tried looking on one of my blogs it gave me this error.
ActiveRecord::StatementInvalid in Pos...

routing errors when i try to submit a comment to a post
0
Rails
Hi Thank you, i followed this tutorial however i am getting
Routing Error when i click submit for the comment...
```
uninitialized constant Squeals
```
Rails.root: /home/ubuntu/workspace
Applic...
khemlall mangal posted

How do I nest two resources that are both polymorphic associations?
0
Rails
In my app, I have several models for various product types, as each product has different attribute types and I wanted to avoid using STI. However, I am using the same Review and Comment system for...

How to debug OAuth login in Rails with OmniAuth Discussion
0
General

A Look Into Routing Discussion
15
General
railscasts.com was first. you are like the google+ thing. which is cool for you :p. keep up with the good videos.
Andrew Schutt replied

Hotwire Modal Forms Discussion
25
General
Thanks a lot for this video! I see it's becoming a trend to add a `format.turbo_stream` response in all my controllers only if it fails.
Fernando Flores replied

The difference between Link_to vs Button_to in Ruby on Rails Discussion
0
General
Another trick is to use `formaction` for having multiple buttons in the same form without using any hidden forms.
For example:
```
<%= form_with model: @blog_post do [form| %>
<%= fo...
Ajay Guthikonda posted