Jerome .

Joined

380 Experience
1 Lesson Completed
0 Questions Solved

Activity

Posted in Deploy Ubuntu 14.04 Trusty Tahr Discussion

That may explain why I hit a small bump with the above. Editing the Capfile would then *not* need `require 'capistrano/bundler'`. Next time I deploy, I'll report back...

Posted in Deploy Ubuntu 14.04 Trusty Tahr Discussion

You mention that Capfile should include `require 'capistrano/rails'`. However the base cap installation has commented out ` # require 'capistrano/rails/assets' # require 'capistrano/rails/migrations' ` What is the delta between these two options?

Posted in Introduction to Importing from CSV Discussion

my thinking is that the end-user, not the developer is going to hit these errors and need to act upon them. So it is a top-level priority. A couple of instance variables under model's `def self.import(file) rescue @counter += 1 @check_me << row end` should gather the data, but controller `def import if @counter > 0 redirect_to chosen_modes_path, notice: @check_me ` hits a

nil:NilClass error. I guess, passing from ruby library to rails is what eludes me.

Posted in Introduction to Importing from CSV Discussion

A big difficulty is gathering the errors and viewing them in the resulting rails view...

Works also with button_to, but to invoke font awesome [... remove needles spaces in what follows ...] data: {disable_with: raw(" < i class='fa fa-spinner fa-spin'> < /i>One moment please...")}

Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more.

© 2024 GoRails, LLC. All rights reserved.