Save 36% for Black Friday! Learn more

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

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

What music gets you kept you motivated when developing?

8
General
Had an interesting message from a GoRails member (Jacob) which mentioned what music we listen to as we develop. It's a great discussion starter and could be cool to share playlists from Spotify, or...
Alan Reid replied

I actually don’t have a question for a change, but a comment

0
General
I’ve been on a few forums for Ruby and Ruby on Rails, and I’ve noticed that everyone is so nice and helpful. I’m a newbie, hobbiest and everyone has been polite and not snarky at all. Thank you all...
Rickwheeler1992 posted

Setup Ubuntu 14.04 Trusty Tahr Discussion

0
General

What could be the best way to deal with addresses in terms of database structure and perfomance?

2
Databases
I'm creating an app for my company. In that application there are a lot of addresses because for Owner, Store, Landlord, etc needs to have address. At first I was thinking to create separate model...
Willard replied