Search Results for "escape-road-city-2"

Lessons

We couldn't find any lessons that match your search term.

Forum Threads

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

Making GeoSearch smooth with AJAX Discussion

2
General
Nice video Chris!
Amanda replied

In-App Messages Between Users Discussion

25
General
Great episode Chris!Can't wait to get into the more advanced stuff.Thanks!

Retrieving Link Metadata with Background Jobs Discussion

3
General
Posting here in case anyone else ran into the issue where they tried to run a test, but got the error of having pending database migrations (also after running db:migrate). For me what helped is r...
David Wilkinson replied

[Vue/Rails] Rich Text Editor - Possible XSS and how to safeguard?

1
General
So I'm working on an app where the Admin dashboard is built on Vue and backend is Rails. There are parts where the Admin can update some Rich Text content, and it will be rendered by Rails. But in ...
Chris Oliver replied

How come so many solutions to solving layout problems are just: put <div> wrappers around your <divs>

1
General
I'm just a noob, but feeling layout frustrations. CSS is so 'artsy' to me, in that there's 30 ways to do everything, but none of them actually work unless you've aligned the stars correctly. Prett...
Damiangage replied

User Avatars with ActiveStorage Discussion

13
General
Hi Chris, great episode. I posted a question about ActiveStorage but I have not received any response yet. Basically what i want to do is upload images for a has_many_attached directly from a contr...
TilakP3811 replied

Deploy Ubuntu 20.04 Focal Fossa Discussion

40
General
Thanks for the guide. There is an error installing NGINX on Ubuntu20.04: "The following packages have unmet dependencies: libnginx-mod-http-passenger : Depends: passenger (= 1:6.0.4-1~bionic1) but...
deyes19 replied

Iterating using css grid

13
CSS
Hi Chris - I am using CSS grid for a three-column blog layout. Unfortunately, when I run the do bock it creates three instances of the same post. I guess this is to be expected. Not sure how to ge...
Brian Gilbank replied
Solved

How do I create an app with Urls like 'https://username.website.com/' instead of 'https://website.com/username/' ?

17
Rails
Hello everyone, I searched but didn't find anything and was hoping like I said in the title of this subject, to find a way to get the url displaying a user's profile of a client's app to be like u...
Chris Oliver replied
Solved

How is the Trix editor on gorails.com "Parsed with Markdown"?

9
General
I was considering implementing on my website the ability for users to switch between a markdown editor or the trix editor but then I noticed on this gorails.com editor (which appears to be Trix) it...
Sebastian replied
Solved

Render partial via AJAX without JQuery

9
Javascript
I've got a standard Comment.model - I'm trying to use AJAX to render partial. Using JQuery works but I'm trying to use VanillaJS only. The AJAX is working but it's rendering the markup inside of th...
Solved

Render \r\n in javascript.erb

4
Javascript
HI, I try to add the value of a text field in a form from a other database field. I use the following javascript ```javascript $("#assignment_conditions").empty(); $("#assignment_conditions").val...
Chris Oliver replied

Preferences & Settings with ActiveRecord::Store Discussion

24
General
Great stuff
sthapit replied