Skip to main content
How do I do the following in a better way?
How can I write the following code in better way ``` if author.present? Article.where(category: params[:category], author_id: author.id) else Article.where(category: params[:category]) e...
teja posted
1
Tips

How do i create a rails app so admin creates user accounts
Hello there I am new at rails and I got kinda a suggestion/request to make an app similar to slack, basecamp etc.. For the company ( where i am an intern). So I got no idea how to make the part whe...
3DWaffle posted
1
Tips

I joined GitHub Education
Thanks!
Nicolás Bobb replied Solved
3
Tips

How would you implement an authorization system in Rails?
Let's say you have users-or-members in your application and each user has his/her own contacts. How would you implement the functionality to allow user1 to add/modify contacts for user2, but not de...
Demetris Constantinou posted
1
Tips

rails 5.2.2 template.rb sqlite3 versions issue
I'm hoping they release an update that fixes this soon! I've hit this a few times myself and am always surprised this is an issue. Thanks for posting the solution!
Chris Oliver replied
2
Tips

Anyone had experience with Wasabi Cloud Storage?
I'm looking at Wasabi for storing our user videos. Their pricing model is very keen but slightly misleading. The 'free egress' definitely has limits. The downloads of your stored files are free as ...
Daniel Weaver replied
3
Tips

What are you best recommendations for Ruby on Rails books I should read?
Oh that sounds like a winner! And one I haven't heard of before. Thank you Chris.
Monroe Mann replied
3
Tips

cloudflare vs cloudfront vs ?
If you are using S3 it is pretty trivial to use it as as origin for cloudfront. On an aside, you should also look at using webp w/poly fills to speed up your images .
Marcus S replied Solved
4
Tips

Create dynamic table for existing resource
Just front end really Abdul. Basically looking to have the user be able to filter the results without the page reloading.
Simon Cooper replied
4
Tips

How does Chris open NERDTree by default when he runs "mvim ." ?
I recommend using RubyMine , it's not free but worth the money. Especially if you're taking Ruby/Rails as a serious job. They also have a pretty good vim mode (coming from a vim only guy).
Ohad Dahan replied
3
Tips

Subscribe to the newsletter

Join 31,353+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.