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.
J’ai écris le programme d’un cours de webmarketing illustré techniquement avec ruby on rails. Mediabuy programmatique, landing page, tracking, tests A/B, monétisation, tout est abordé et mis en oeuvre avec du code ruby et rails » formation ruby on rails «
Speeding up Rails pages with render_async has more options and it supports caching. Most notable changes: [more inside]
A tale about a hard-to-fing bug and how it helped improve the code design https://ylan.segal-family.com/blog/2017/09/21/bug-driven-design/
Are you thinking about allowing others to integrate with your application? Or maybe you just want to build a Zapier app? Either way, you’ll probably want to use webhooks for (near) realtime updates. Learn how to send webhooks with Rails!
Rails 5.1 makes AJAX the new default for form submissions using the
form_with helper. In addition to forms, what other use cases are there for
remote: true in a Rails app? Here are a handful of scenarios where you may want to try using SJR
In this post we will use the scikit-learn Python library to build a SVM handwritting classifier inside a Ruby application. We will show how to load the Python library in Ruby and highlight some of the differences you’ll need to know to use the sci-kit learn toolbox from Ruby. Read more: https://www.practicalai.io/using-scikit-learn-machine-learning-library-in-ruby-using-pycall/
Apphera 3.0 is about to be released and comes as annual subscription including Ruby source code. Besides social media monitoring (Twitter, Facebook etc) we added comprehensive competitor analyses and also new with Email campaign tools including a data miner to extract emails from the Internet for business to business (!!) campaigns (don’t spam please). As always I will also add a open source/free version of my Rails based platform. This time I added a Node-Red based tool to the mix as it allows to create work flows in a graphical way.
Advancing from Single Table Inheritance, learn how Polymorphic Associations differ and tricks to simplify their usage. https://www.driftingruby.com/episodes/polymorphic-associations
Hello, I’ve bundled up the blockchain.rb sample from Awesome Blockchains into a ready-to-use out-of-the-box enterprise-strength blockchain library called blockchain.lite. Use like:
b0 = Block.first( "Genesis" ); b1 = Block.next( b0, "Transaction Data..." ) ... and so on. Revolutionize the world with blockchains, blockchains, blockchains one block at a time. Happy blockchaining with ruby. PS: Proof-of-work upcoming :-)
Hello, Inspired by Let’s Build the Tiniest Blockchain
In Less Than 50 Lines of Python I’ve put together a Ruby version. Blockchains, blockchains, blockchains! See the blockchain.rb sample in the Awesome Blockchains repo. Use
$ ruby ./blockscript.rb to run. Happy blockchaining. Cheers.
Where should we place validations? In the model or in the form object? We answer this question in the third and final article of the series on Form Objects.