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!!
![](https://secure.gravatar.com/avatar/062cb864ec274e0d92cb92419f0d983d.png?default=mp&rating=pg&size=48)
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!!
Hey I'm an Angular developer diving into the Ruby on Rails, and I'm trying to figure out the best way to structure reusable frontend components, like buttons, in a Rails project. Especially because...
Hey Craig! Check out this episode on Rails credentials. This is what I strongly recommend as all your credentials are easily organized and encrypted. Then in production you only have to set RAILS_...
Anyone have any thoughts on this?
I almost always nest them in folders. It's very helpful when your app grows. Often times you might have 2 or 3 controllers with the same name that do different things and the nesting in folders hel...
Hello, I'm researching best practices on implementing a Content Security Policy for my 5.2 rails app. I have a few `remote: true` forms that respond with `*.js.erb.` It's my understanding that thes...
The cache only works over a single request so it will be cleared automatically if user make another request
I was watching CodeSchool's "Feature Focus" the other day. This is where Greg and Carlos look at a popular site/app and pick a piece of functionality to focus on and write it themselves. They the...
I always get the error `pg_restore: error: could not execute query: ERROR: cannot drop schema public because other objects depend on it`. It happens even if I clear all data from my hatchbox DB (u...
You need to change ApplicationController to ApiController in locations_controller.rb.
Icing on the cake:echo 'gem: --no-rdoc --no-ri' >> ~/.gemrcgem install pry && echo 'alias irb=pry' >> ~/.bashrc
Chris, could you add to the video description what exactly you go throufg in this video? since its a 30+ minute it would be nice to have a summary or index!
I didn't even though about using the custom route names but then pointing them to separate controllers to keep the code clean. I got too stuck in the "all or none" mindset of only doing it one way...
I have tried doing something like this, but it kind messes things up. Between the shallow part and some of the controller/views parts I am lost. resources :projects, shallow: true do resources ...
Hey Chris! I was wondering about the differences of the implementations of complex 3rd party integrations. For instance on the one hand there is segment.io or intercom.io. For these to work you ne...
Hi! I'm new to the community (so be nice) but I've been developing Rails applications professionally for a while now. I would like some help from the experienced developers in the commu...
I think you should define some roles upfront and let the user choose from those. Either you do a simple hierarchy based like `user < admin < superadmin` etc. Where the `admin` has the same r...
Main question: I've been looking into documenting my own code, and came across Yard and Rdoc. Right now, just trying it out, I have Yard installed. But are there other alternatives out there that I...