NoMethodError (undefined method `def_delegators' for ChatroomsDatatable:Class):

4
Ruby
I have this error: ```NoMethodError (undefined method `def_delegators' for ChatroomsDatatable:Class):```
Victor Nizeyimana replied
Solved

migrating to php

2
Ruby
Hello, I have inherited a ruby application and unfortunately have no knowledge of the language. Could someone be so kind to help me figure out how to convert the below code to php? ``` def genera...
vampster replied
Solved

Trying to setup a Telegram bot, sorted everything out, but have one error

0
Ruby
If you are experienced with CMD, Ruby, NodeJS and Windows 10 then please help. Error: https://i.gyazo.com/23c684b3788c3190d7a81f53bb828e30.png I've run the commands that are displayed to resolve t...
Danny Woodward posted

Run/Migrate Older Ruby Application (Your Ruby version is 2.5.3 but your Gemfile specified 2.3.1)

16
Ruby
I am taking over an app that has not been developed for a few years. Currently the app is on Github and I have a local Ruby on Rails install on my Ubuntu 16.04 box which I have a copy of the master...
Neville Smith replied

How to serialize stored JSON serialization (in Ruby/Rails)?

1
Ruby
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...
Chris Oliver replied

How to scrape the right data in an API built in Rails 5.2.1

0
Ruby
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/departures/) [...
Jakub posted

Validation

0
Ruby
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 tab...
Lucas Cunha posted

integrating stimulus with ruby on rails

1
Ruby
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?
Chris Oliver replied

Can some explain this line of code

2
Ruby
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 doi...
hkauroberoi replied
Solved

Inheritance is not working.

1
Ruby
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 = tweets en...
Jacob Montgomery replied

Align Images with Text

1
Ruby
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...
Marcus S replied

API low-level caching

2
Ruby
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 `i...
Alexey replied

Question on polymorphic comments tutorial

0
Ruby
got through the whole thing and went to add a comment and i get routing error with the pattern of "films/1/comments". What did i do wrong?
Jimmy Sander posted

Looking for Senior Software Engineer experienced in Ruby!

0
Ruby
Hi all, I'm looking for a Senior Software Engineer to work full time either in Edinburgh or remotely in the UK to work for a leading cloud based accounting platform with over 65,000 users. Must h...
Eleanor Turner posted

ARRAY ACCESS AND INSERTION RECORD DATABASE

0
Ruby
Hello everyone, I would need to access the array to retrieve the information and insert it into the database (Code, Customer, Phone1, Phone2). Someone can help me? { :recordset => { ...
Antonio F. posted

javascript_pack_tag 'javascriptNamePackage' render api json file instead of showing web page and load javascript package

0
Ruby
In index.html.erb I have =javascript_pack_tag 'javascriptNamePackage' which render entire api json file and ignore all javascript package and everything.. If someone have idea what am I doing wro...
Cloud posted

A newbie to Ruby

1
Ruby
I am a new to Ruby, so which episode should I watch first.
Chris Oliver replied

Whats the best way to handle errors, when creating new records?

6
Ruby
Hi all,I am creating new records, and want to be able to catch the ones that error and add them to my activity log so I can look into them and why they may have failed.What would be the best way to...
Alan Reid replied
Solved

how do i resolve this error?

2
Ruby
undefined local variable or method `recipe_params' for #<RecipesController:0x00007ffa3c046490> Did you mean? recipe_path def create @recipe = Recipe.new(recipe_params) if @recipe...
Alan Morley replied
Solved

Tuning Ruby for development

1
Ruby
What are you guys using these days to tune your Ruby MRI 2.5 at dev time? I've been using a mix of environment variables for a while and I'm not even sure if they're still valid, or deprecated.Basi...
Carl Mercier replied

Learning Ruby on Rails? Join our newsletter.

We won't send you spam. Unsubscribe at any time.