The Ruby and Rails community linklog
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Submit a post
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
I have released the website https://coders-log.com This is a website similar to RubyFlow and JSLive but instead supporting all of the other technologies such as Go, Crystal, Elixir, Java, Unix, SQL, CSS, Design, and many more. Check it out! https://coders-log.com
I have just finished writing an article on how to replace the asset pipeline with Webpack 2 in Rails
Rails 5.1 will support Yarn out of the box, but in the meanwhile, if you want to start using yarn to manage your JS dependencies, here’s a short post showing how you can add Bootstrap to your Rails app using Yarn.
New version released of Spreadsheet Architect gem. Spreadsheet Architect is the simplest way to generate xlsx, ods, and csv spreadsheetsfrom your application. https://github.com/westonganger/spreadsheet_architect
Instead of letting users explain how and where they got an error, let them tell you “I got error number 123423423424” and then simply open up all the details in airbrake with airbrake-user_informer
After two years PolyBelongsTo has its 1.0.0 release! PolyBelongsTo allows you to access model relations with ActiveRecord in a more across-the-board meta-programming friendly way. It includes database model relation integrity checking, deep nested relation cloning of model records, and plenty of nifty simplifications for your database relations. See PolyBelongsTo.
Beginners use tutorials while experienced programmers read and refer to documentation. But how do you do that, exactly? This post explains the anatomy of a Ruby doc to help expand your understanding of Ruby: http://www.rubyletter.com/blog/2017/02/15/how-to-read-ruby-documentation.html
A followup to my previous article on adding Active Admin to a Rails 5 API. This time we’re using Rails Admin which is even easier than before to setup. - http://www.carlosramireziii.com/how-to-use-rails-admin-with-a-rails-5-api-application.html
Need to speed up your website’s performance? This article will introduce you to the basics of caching in Rails applications. - https://prograils.com/posts/rails-optimization-introduction-to-cache
The 4 part series will cover what Rack is, how to use it to handle incoming requests, how to use templating techniques to return a response, and finally, how to extract common code to plant the seeds for your very own web application development framework. [more inside]
To see how far Ruby’s Unicode support has come, I tested every string method to see which ones violate the principle of least surprise. The results are presented as a handy table that you can reference to see which string manipulation methods are Unicode-unfriendly. - http://blog.honeybadger.io/ruby-s-unicode-support/