Search Results for "error-utf-8-when-creating-a-new-project-ruby-on-rails-what-is-the-problem-and-how-to-fix-it-fd660774-17af-42d3-9532-e72a933af096"

Lessons









Forum Threads

Setup Windows 10 Discussion

236
General
Hi,I got all the way through this so thanks for the walk through! I run "rails server -b 0.0.0.0" and the server boots fine but when I go to localhost:3000 in the browser, the browser icon spins bu...

Deploy Ubuntu 14.04 Trusty Tahr Discussion

371
General
The following commands should be slightly modified:cap install STAGES=productioncap production deployI believe it should be the following:bundle exec cap install STAGES=productionbundle exec cap pr...
paul lahana replied

Setup MacOS 10.10 Yosemite Discussion

141
General
When I try to install Homebrew, I get:csu:~$ ruby -e "$(curl -fsSL https://raw.github.com/Home..."dyld: Library not loaded: /usr/local/lib/libgmp.10.dylib Referenced from: /Users/christophersu/.rv...
Someone replied

Setup Ubuntu 14.04 Trusty Tahr Discussion

237
General
thnx
Someone replied

Group Chat with ActionCable: Part 4 Discussion

69
General
As for message relay jobs matter for this particular subject of this ActionCable example, do you recommend putting down for its current_user's id or name in these kind of scenarios when it comes to...

File Uploads with Refile Discussion

96
General
Awesome.
Runong W replied

Forum Series Part 2: Routes Discussion

22
General
Chris, I don't have the view folders for forum_threads. Did you manually create those? Or did I miss a step?
Nahwin Rajan replied

Stripe Subscriptions: Duplicate Customers

14
Rails
Hey Eeveryone, I'm creating a subscription site using Stripe v3. For the most part everything is working fine, but I noticed in my Stripe Customer dashboard there are duplicate customers (for all ...
Stephen Swann replied
Solved

Rails Braintree couldn't update

3
Rails
I'm implementing Braintree Subscription Payment into my rails app. I've encounter some issue when trying to update subscription information in my database. When I make a payment, it's successfully ...
Jacob Montgomery replied

SEEKING FREELANCER - Importing CSV file

13
Rails
I've tried to follow along with Chris' tutorial on importing records from a CSV file. I cant get the file to upload. I've posted loads of quesitons on the discussion board for the first video in...
Melanie replied

Any HTML→PDF gem that supports modern CSS (flex/grid) and works on Ruby 2.5.1 + Rails 5.0.7.2?

4
Rails
Background --------- I have an existing Rails 5.0.7.2 app running on Ruby 2.5.1. In several places I generate invoices as HTML (I build a full HTML string by replacing template tags server-side) an...
Preston Edwards replied

Deploy Ubuntu 22.04 Jammy Jellyfish Discussion

46
General
Thanks a lot for this step by step guide! Anyway, I'm facing a problem with Passenger. After deploying the app, I see this in the nginx logs: Error opening '/home/deploy/my_app/current/Passengerfi...
Hamdan M replied

Incomplete response received from application when non-ascii character in html

0
Servers
I have an Ubuntu 18.04 server with Nginx and Phusion Passenger (non-Rails app) and it is working for websites with ASCII characters in HTML only. But when I put a non-ascii character to the `index...
Jiri Prochazka posted

Iam desperately trying to deploy my App with Capistrano but it isnt working

2
Rails
Hey Folks, I have always received great help here, so I hope that it will work out this time so shortly before the end. I would like to deploy my app on my server and use capistrano. However, I c...
Sebastian replied
Solved

How can I integrate Amazon Native Ads

10
General
Im having troubles integrating Amazon Native Ads into my rails apps. I think its a problem with turbolinks but not really sure. Amazon says to just past this code into your html wherever you want...

Multitenancy with the Apartment gem Sending email in production

16
General
Hi I did the Multitenancy app works great only problem that im having is on production the app wont send email. On local machine it send it with no problem. Any help and what info that you need le...
Francisco Quinones replied

Why are these partials rendering differently?

8
General
I’m doing a thing where I’m rendering table rows: ``` <%= render partial: "choices_table_row", collection: @images, as: :image %> ``` Then, inside that partial: ``` <%= image.name %&...
Chris Zempel replied

Issue when adding Confirmable in Devise - [ArgumentError - wrong number of arguments (given 0, expected 1)]

0
Rails
I've been setting up Devise Confirmable for my development environment Rails 5.1.7 app. My initializers/devise.rb looks like: Devise.setup do |config| require 'devise/orm/active_record'...

Accepts_nested_attributes_for, I am getting 'unpermitted parameter: :user' and User not entering to DB.

1
Rails
Hello! I am building an app with Accounts/Users & Memberships via has_many through. I am using Devise and want to create a new user from 'accounts#new" via 'accepts_nested_attributes_for.' Whe...
Ryan Mindigo replied
Solved

Hotwire missing template on form submission

6
Gems / Libraries
Hi Chris/extended go-rails community :) I have been playing around with the new turbo rails and trying to implement a turbo stream for my login form submission errors. I am wondering if anyone el...
Jake Smith replied