Skip to main content
Fallback
How to serialize stored JSON serialization (in Ruby/Rails)?
Ruby • Asked by zino
I'd like to store a JSON blob in my table (Postgres). The table needs to be read frequently. After my application reads the table, it returns a JSON serialization of this blob along with other attr...
2
posts

Fallback
How to scrape the right data in an API built in Rails 5.2.1
Ruby • Asked by Jakub
Hello, I'm working on API in Rails 5.2.1. The API scope is to scrpae flight information from this 2 tables of the cph.dk site: [Departures](https://www.cph.dk/en/flight-information/departure...
1
post

Fallback
Can some explain this line of code
Ruby Solved • Asked by hkauroberoi
Hello, I'm following a RUBY code and writing a small script in php that will accept post request (json) and show values. However, the following line puzzles me - what does params["payload"] is d...
3
posts

Fallback
Validation
Ruby • Asked by Lucas Cunha
Hi folks, I have one question about this issue. I have a structure as follow: one table `user` with field `name`, `city` and other, and another table `client` that is some attributes and this ...
1
post

Fallback
integrating stimulus with ruby on rails
Ruby • Asked by David Brown
Where does the Stimulus team recommend as best practice to put the JS controller files? For example, if I wanted to integrate a version of this walkthrough into an existing rails app?
2
posts

Fallback
Inheritance is not working.
Ruby • Asked by leroydupuis
Hi, I'm a starter in ruby, I have a doubt in Inheritance in ruby. This is my sample code. ``` class TimeLine attr_reader :tweets def initialize(tweets=[]) @tweets = tweet...
2
posts

Fallback
Align Images with Text
Ruby • Asked by rikidev
Hi I'm doing a report with ruby ​​prawn, the code below shows two images on video, the fact is that the two images are not aligned, so the image c is displayed much lower, my question is how do I a...
2
posts

Fallback
How to install rails cms template?
Ruby • Asked by Anna Chebotar
I am using ruby2.5.1 and rails 5.0.6 now. I am going to install camaleon_cms on my project. How to install it? Please help me....
2
posts

Fallback
Senior Ruby on Rails Developer
Ruby • Asked by Christy
Company Description Chexology is reinventing how items are exchanged between people. We started with an app called CoatChex, as seen on Shark Tank, to get rid of long lines and “he said, she sa...
2
posts

Fallback
API low-level caching
Ruby • Asked by Sean M
Hey Chris, I am a bit confused regarding API caching. I am using JSONAPI spec and fast_jsonapi gem and trying to cache the vehicle itself on show action and if there are params coming over like ...
1
post

Subscribe to the newsletter

Join 18,000+ developers who get early access to new screencasts, articles, guides, updates, and more.

By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

More of a social being? We're also on Twitter and YouTube.