Search Results for "how-do-i-get-started"
Lessons
Forum Threads
Deploy Ubuntu 16.04 Xenial Xerus Discussion
Great tutorial. Everything went well, but when I do cap deploy production, I get the error below. Any ideas? Thank you!cap aborted!SSHKit::Runner::ExecuteError: Exception while executing as deploy@...
Alex Hendershott
replied
92
General
How do I show a modal popup from a link_to button
I got this working with javascript.
<%= link_to "Get started", { id: "store-sign-up" } %>
document.addEventListener("DOMContentLoaded", () => {
var modal = document.querySele...
Samantha O
replied
•
Solved
2
Rails
How do I route to the proper controller from the Bootstrap navbar?
I think the routes are confusing the system.
I'd do a namespace for your users.
```
namespace :users do
resources :jobs
end
```
And you can keep your original jobs path for external users.
eminkel
replied
2
Rails
How do I send send a erb template as a string in a json response?
Hey Morgan, I haven't had a chance to play with this yet, but I'll be needing to for a project here soon. What I had bookmarked to come back to when I started was https://coderwall.com/p/ov8eha/ren...
Jacob Montgomery
replied
•
Solved
2
Rails
How do I tackle this 28-line scope?
That ERD thing has been incredibly useful, though not in this specific instance. This database is crazy.
ActiveRecord uses AREL, and all it really is under the hood is an abstract syntax tree that...
Chris Zempel
replied
3
Rails
What are your goals for 2018?
Goals for 2018:
- visit gorails.com and watch episodes in my spare time
- build out my hobby project (comparison website)
- get a better understanding of the basics
- a minimum of 1000 hours of de...
robert
replied
6
General
Knowing you're probably preparing some episodes on Hotwire, here are some questions
Andrei A
replied
4
General
How did you become good at back end development / Ruby on Rails?
I would agree with others here, Google is a massive help. But Chris has built a fantastic comminuty here at GoRails along with a wealth of amazing resources. With that I would say never be affraid ...
Alan Reid
replied
•
Solved
8
Rails
How to use Uppy with ActiveStorage Discussion
I built a stimulus controller for this but ran into some issues getting the uppy stylesheets to load. I spent a lot of time trying to figure it out. Putting details here so I don't lose them or pe...
Brian Carpenter
replied
38
General
Sending emails with Mandrill Discussion
Hi Chris, I am reading gibbon gem but unsure on what it is exactly for? Would you describe how you are using it for gorails to illustrate?
Stan X
replied
50
General
Direct File Uploads to S3: Part 1 Discussion
Is it bad to give AmazonS3FullAcces to user?
Vladyslav Knysh
replied
19
General
Handling Subdomains and Multitenancy From Scratch Discussion
This is great, thank you.
I'm wondering, just to round out the initial Wordpress example, can you briefly describe what is needed to be done to land on lvl.me (like Wordpress.com), login, then ge...
Robert Ault
replied
56
General
File Uploads with Refile Discussion
Thank you so many times over. This was a life saver!
Jake Yeaton
replied
95
General
How do I fix Github Action test error caused by "DevToolsActivePort file doesn't exist"?
Hey - I have a Github Action test file as below. When I run the CI, the system tests which use Selenium WebDriver do not pass. The following error occurs:
```
Selenium::WebDriver::Error::UnknownE...
Christopher Lam
posted
1
Testing
Debugging Performance Problems In Your Views | GoRails - GoRails
I would say try your best to eager load as many of the subrecords as you can so that you're not querying as much. You may be able to cache that in the controller instead of the partial and save som...
Chris Oliver
replied
14
General
File Uploading with Carrierwave Discussion
hi, How do I show an image in the index without carrierwaveI followed your steps without carrierwave and I need to show the image in the indexThank you!!
fettx
replied
25
General
Styling with Bootstrap Sass Discussion
I have a really small question... How do i style a particular element in a particular controller action. I know there's a way to put the controller name in the body of appcontroller but i don't kno...
Anyanwu Miracle
replied
20
General