Add to Favorites: using same controller/action and js.erb files for different views
1
Rails
Chris I'm a new subscriber and I'm loving Go Rails. The content is really usefull for real-world applications.
After implementing the "Like" feature in my website, I came across a doubt that keep...
Chris Oliver replied
Solved
Where should I start?
1
Tips
Hey, good morning.
Chris, I would like to start to learn more about Ruby and Rails. I have a little more than a year programming with them. However, I would like to know which series should I star...
Chris Oliver replied
Solved
How do I install bootstrap-v4 via yarn?
4
CSS
Hey Guys,
I tried to install bootstrap4 via yarn. And I tried it like this:
1. yarn add bootstrap@4.0.0-alpha.6
2. rails webpacker:compile
3. add the line: import 'bootstrap/dist/css/bootstrap' ...
Kjell Morgenstern replied
Solved
Simpleform association with images!
6
Rails
Hi Chris,
I'm wondering if you could help. I'm currently building a form that'll send out a SMS with twilio, and i'm looking to send details of a vehicle out at the same time, specifically the ima...
Martin McDermid replied
Solved
Bootstrap 4 modal form in rails disables submit button on ajax refresh
1
Rails
I've been struggling with this all day. Please see the link below.
[Bootstrap 4 modal form in rails disables submit button on ajax refresh](https://stackoverflow.com/questions/44489517/bootstrap-...
nynhex replied
Solved
How Do I Create an App Where Each User Has A Separate Table
3
Databases
Hi,
I want to create a web app which is a simple HR SaaS. Each user/company which registers will have get a separate table to upload list of employees. In terms of autorization a user/company can ...
Tabish Iqbal replied
Solved
How to build options on select tag with VueJS?
1
Javascript
For example, let's move to episode "using VueJS for Nested Forms in Rails" and adding model called Position, which association with a Player (belongs_to). And how to implement select tag for choos...
Dmitrii Amelchenko replied
Solved
[HATCH] - Deleting separate applications on the same server?
6
Databases
I've been deploying several toy apps on the same server, but after I'm finished with them I would love to easily be available to delete them using Hatch's interface, instead of having to SSH into t...
Scott Johnson replied
Solved
Using elasticsearch/searchkick to run a search bar via my navbar and show results in a search.html not index.html?
1
Rails
I just finished going over Chris's two great railscasts dealing with search. However, I wanted to put my search bar on my navbar so that whenever someone searches the results I will be taken to my...
Omar Khedr replied
Solved
Uploading a file from remote url using shrine?
3
Gems / Libraries
Hi,
I need to upload a remote file to my S3 bucket (e.g., I get a link to a pdf e-ticket and I need to upload it from its location). In addition (as a bonus) what's the best way to allow users to d...
Roy Zinn replied
Solved
Do I have to publish the source code of a commercial app if I use a GPL licensed gem like prawn?
1
General
Hey Guys,
do I have to publish the source code of a commercial app if I use a GPL licensed gem like prawn?
Cheers,
Drilon
Chris Oliver replied
Solved
Finding Users in Group Chat Go Rails Class
1
Rails
Hi guys,
I went through Chris's Go Rails course on Group Chat with Action Cable and learned loads from it. One of the things that I need some help with though is being able to find all the chatroo...
Omar Khedr replied
Solved
Hatch: Deploying my first App
7
Servers
Hey Chris,
I was playing around with Hatch last night and it's really cool, awesome work! I am having a little drouble deploying though.
I'm getting this
> Git clone failed
>
> This ...
Chris Oliver replied
Solved
Devise - logging on with something other than email
7
Gems / Libraries
I have followed the instructions on this page https://github.com/plataformatec/devise/wiki/How-To:-Allow-users-to-sign-in-with-something-other-than-their-email-address to allow signing in with some...
Chris Oliver replied
Solved
Nested attributes
4
Rails
Hi All,
I'm working with nested forms and I'm stuck trying to create the two models and the controller to handle this association.
My models following this structure:
Survey -> recipients <...
Giancarlo Corzo replied
Solved
Email Stripe Receipts
1
Rails
Firstly, thanks for the great Stripe tutorials! I just finished implimenting basic subscriptions on my rails app. However, I do have a few questions regarding emails.
**Will Stripe automatically e...
Chris Oliver replied
Solved
Styles not rendering
5
CSS
Hey guys,
So I'm following [a tutorial](https://www.youtube.com/watch?v=70Pu_28yvdI&t=4025s), and around the 1 hr mark, he starts adding the styles. When I tried to reproduce it, it would not...
Miguel replied
Solved
Access Rails constants from Webpack-managed JS
1
Rails
I'm just starting to use Webpack with Rails, and have a question. Let say there is a constant defined in Rails application. What could be a proper way to access this constant from JavaScript? Assum...
Chris Oliver replied
Solved
3rd party integrations using Oauth/omniauth
2
Rails
When creating a facebook login, you put `user = User.from_omniauth(env["omniauth.auth"])` inside `sessions_controller.rb` , so when a user goes to /auth/facebook it will prompt them to login via fa...
Masud Hossain replied
Solved
How do I import a Sass library from within a "node_module" (Rails 5.1)?
11
Rails
Pretty much the question above!
I have a Rails 5.1 app with webpacker installed, and I used npm to install a front end framework:
`npm install bulma --save`
Now that it is inside of `node_module...
Ryan Martin replied
Solved