Activity
How to create the pre-defined categories with the acts as taggable on gem or even from scratch?
Hi Simon, I don't even understand what you've said, I'm kinda new to all of that! 😂 but I managed to make it work. After this error I wasn't able to upload images using carrierwave with ckeditor but this was because I didn't install image magic on the server so after I installed it everything went fine. github repo if you want to take a look at anything: https://github.com/Muhammad-Ebrahim/blog
Hi guys, I'm using CK editor in my rails 5 app and when I deoployed it on Digital Ocean and the editor doesn't load with this error in the console.
ReferenceError: CKEDITOR is not defined
is there anyone using CKeditor here?!
Posted in How to integrate mailgun in a rails app
Hi guys, I have a newsletter form where I collect the email of my users and I want to send the mails to mailgun to send them emails. how can I do that?!
Posted in Markdown/Emoji : how to host images?
Hi @chris, I'm having hard time figuring out how to host the folder in my app. should I install the npm package from here https://github.com/HenrikJoreteg/emoji-images in my app?!
Posted in Repost / Retweet / Reblog Discussion
Hi Chris, Great tutorial! I was wondering how to setup liking posts when I don't have any user records. Assuming I want to setup it for my blog and for sure I'm going to be the only user so how could I implement it?!
@hafidz And how could I store the user device so they don't like it tiwce or something like that?!
Hi, I have a side project where I don't want visitors to make accounts because it is just a collection of posts but I want them to be able to like posts.
You're absolutely right!
This is how my zshrc file looks like now:
# If you come from bash you might have to change your $PATH.
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"
Thanks a lot Chris for your time!
Thanks @chris, This helps a lot, one more thing though!
I'm sufring with oh my zsh with a weird error, when I run any rails command I get this error:
_rails_command:10: command not found: rails
wait it gets better, When I write exec bash and get back to exec zsh it works perfectly
I don't understand why is that!!
Hey guys, Lately I have been trying to switch to Vim but I couldn't because It's kinda complicated. Most of the dotfiles I found were built to setup on a Mac so I'm curious if anyone here is workin with Vim on Ubuntu?!
I'm trying to build a blog & portfolio app using rails and I want to add tags to make the content organized, I'm trying to add acts_as_taggable_on but I'm struggling with it so I thought I might ask you guys! Thanks in advance.