Push changes to Node packages to Heroku
Figured out the problem. I feel stupid now. I had accidentally removed
`<%= javascript_pack_tag 'application' %>`
from my application.html.erb file.
Dan Donche
replied
2
Rails
How to get ngrok working with webpack-dev-server
Change webpacker.yml config
`
dev_server:
https: true
`
Ghar
replied
3
Rails
How to attach a remote S3 file to an outgoing email? [SOLVED]
Got this working by parsing and opening the URL with `URI.parse`:
```
def video_email
@user = params[:user]
@video_url = params[:video_url]
attachments['video.mp4'] = File.read(URI.parse(@vi...
Daniel Weaver
replied
•
Solved
4
Rails
How to protect API againest malicious attack?
Hey Daniel, spot on 🙌
The app I'm building is actually the middleware, the whole idea of the app is to make Shopify theme developers able to do things that they are usually aren't able to, without...
Karim Tarek
replied
6
Rails
Bundler And PG Error On Deployment
On my deploy server I get `Bundler version 2.0.2` whereas the version on my local machine is `Bundler version 1.17.3` . How can I downgrade the server version ? I already tried some things before b...
Damian Nelwep
replied
11
Rails
How do I temporarily redirect stderr in Ruby on Rails?
**Ivan Raszl**, you did not understand. Read my question on SO:
https://stackoverflow.com/questions/56828359/how-do-i-temporarily-redirect-stderr-in-ruby-on-rails
Alexey
replied
3
Rails
Unable to create the Rails app in WSL
Sounds like permissions issues and seems like other people have experienced that. Try this: https://askubuntu.com/a/1118158
Chris Oliver
replied
2
Rails
Namespace rails belongs_to
Hi Tiago, is this a typo?
`belongs_to: permission`
It should be `belongs_to :permission`
Lidia Wisniewska
replied
2
Rails
How to test attachments in ActionMailbox?
Thank you posting this. It helped us cover attachment test cases.
Taha Husain
replied
•
Solved
5
Rails
How to build something like a Youtube advertisement system
Perfect.
JWPLAYER is exactly what I was looking for. Chris one more question. Rails uses the standard video_tag to actually render the video. Is there a way to count views like youtube. I know jw...
Darren Booker
replied
3
Rails
How do i create and custom module with view
If you need an easy way to create a filtered table of data try this gem:
https://github.com/leikind/wice_grid
Ivan Raszl
replied
2
Rails
Video idea: Google insights
Hi Chris,
Would be nice to see a video about optimizations for rails for better score in google's page speed test.
https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fgorail...
Pedro Carmona
posted
1
Rails
How to mark a post as read, so that it won't show up again for a user?
Hi Ivan,
Above you wrote: "You will have to create the new and create methods for the journal of course for the form to work."
But later you said that "You would be initiating the form from your ...
Monroe Mann
replied
7
Rails
Jumpstart Template
UPDATE!!! I have edited the database.yml file and still receiving "PG::ConnectionBad: fe_sendauth: no password supplied"
Tom Marler
replied
2
Rails
Ruby on Rails: gem devise session logged in
I wish to help but I can't figure out what you want to do. Use short and simple sentences to describe:
* Your current setup
* Your desired user flow
* What you're having a problem with
* Show code ...
Ivan Raszl
replied
2
Rails
Redirect show to edit mode always
Hi, I want to work always in edit mode and not in show mode. So when i go to show a object, I want to be in edit mode.
How I can make this possibile? First I think that I can put a redirect in show...
AlessioVaralta
posted
1
Rails