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 repliedhi, 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 repliedHey 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...
Cengiz Gürtusgil postedHey 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_...
Chris Oliver replied • SolvedAnyone have any thoughts on this?
John Athayde repliedWhat is the best way to generate SEO friendly urls? The Rails default is to put the id in the URL e.g articles/2 I want to be able to have a url like this articles/article-heading Previously I...
William Kennedy replied • SolvedI 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...
Chris Oliver replied • SolvedHey Rails Community! I want to share the gem that I believe will significantly streamline full-stack development workflows: https://github.com/raphox/next_rails_scaffold What Does It Do? The gem ...
Raphael Araújo postedIt’s great to see a focus on best practices for maintaining code quality while allowing flexibility in style preferences.
Duane Rhodes postedHello, 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...
computer_smile postedThe cache only works over a single request so it will be cleared automatically if user make another request
Agung Setiawan repliedI 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...
shakycode postedI 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...
Matthias Orgler repliedYou need to change ApplicationController to ApiController in locations_controller.rb.
Henry Kim repliedIcing on the cake:echo 'gem: --no-rdoc --no-ri' >> ~/.gemrcgem install pry && echo 'alias irb=pry' >> ~/.bashrc
Tom Lobato repliedChris, 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!
TL repliedI 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...
Dan LeGrand replied • SolvedI 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 ...
Brendan Feltrup-Exum repliedHi! Did you find a good solution for this? jbuilder is apparently quite unperformant and gems like active_model_serializer don't seem to be being maintained anymore, I assume that because there is...
Esti Alvarez repliedHey 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...
Sean M posted