Search Results for "how-to-use-dependency-injection-in-ruby-discussion"
Lessons
Forum Threads

How to use Dependency Injection in Ruby Discussion
0
General

Setup Ubuntu 16.04 Xenial Xerus Discussion
110
General
Don't use "ssh-keygen -t rsa", use "-t dsa", much safer and not owned by NSA.... ;-)
Someone replied

Check if class was instantiated and instance method was called
1
Testing
Hey guys! I'd like to figure out a way to test piece of code that suppose to create an instance of particular class. Here is an example:
``` ruby
class Subject
def call
...
end
end
class ...
Alex Musayev replied
Solved

Thousand separator and Number formating
10
General
Something as simple as formatting a number in form field with thousand separators and currency symbol is driving me crazy! Something that should be simple to do and more importantly should be part...

How to use Uppy with ActiveStorage Discussion
37
General
Thanks for this!
Brian Carpenter replied

Migrating From jQuery to Vanilla Javascript Discussion
47
General
`document.querySelectorAll` looks like return an array, but in fact it is an object. It's important to keep this in mind in order to avoid some problems iterating the dom elements.
Dan LeGrand replied

Using multiple theme in Multi tenancy application
3
General
Great work Chris, this my second month in this forum and i really enjoy the series of tuts, please i'm currently working on multi tenancy application that require user to select desired theme. plea...
Jacob Montgomery replied

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

GitHub Actions with Ruby on Rails: Setting up Continuous Integration Discussion
19
General
Congratulations on the video was very good, I will try today
Ignacio Alonso replied

Styling with Bootstrap Sass Discussion
19
General
A very good video. I'm going to do it this way instead of using the heavier gems in future.This should really be titled "Installing Bootstrap Saas" though as it doesn't get into Styling.
Someone replied

SEEKING FREELANCER - Javascript configuration
17
Javascript
I have been trying for 4 years and 3 months to try to setup a basic rails app.
I have bought 10+ books, subscribed to this and several ohter subscription services to try to learn the basics of rai...
Melanie replied
Solved

Setup Ubuntu 13.10 Saucy Salamander Discussion
96
General
I believe in the line "sudo apt-get install postgresql-common -t raring," raring should actually be saucy. Also in the line "rails new myapp -d postgres," postgres should be postgresql.
Someone replied

Setup Ubuntu 14.10 Utopic Unicorn Discussion
53
General
thanks!
Someone replied

Using Vagrant for Rails Development Discussion
159
General
Trying to install the librarian-chef plugin first produces an error about not being able to find the vmware-workstation plugin (or rather gem). Installing the vbguest plugin first fixed the issue.
Bob Bannister replied

Subscriptions with Stripe Discussion
96
General
Hey Chris! Not sure if this is just me, but there seems a problem downloading the video's.
Jon Roock replied

Liking Posts Discussion
96
General
Learned a lot of new things through this post, thank you. Never knew how to properly write a route to a module or the proper architecture for that set up. Very useful stuff. Would have liked to s...
Someone replied

Deploy Ubuntu 18.04 Bionic Beaver Discussion
77
General
Thanks btihen! I'll get the tutorial updated for its changes shortly!

Setup Ubuntu 14.04 Trusty Tahr Discussion
237
General
thnx
Someone replied

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