Rails 5.0 is almost here! The first beta version has been released already, and you can try out some of … Đọc tiếp What’s new in Rails 5?
Over the past months we have been building various APIs here in Kollegorna using Rails. Although there has been a lot of fuzz about API frameworks in Ruby community like the sinatra-way and Grape the truth is that I never felt that Rails limits you when building APIs, especially if you have a large one. Đọc tiếp “Build an API in your Rails app now!”
Như chúng ta đã biết, Rails được xây dựng trên mô hình MVC, với Controller là cầu nối xử lý dữ liệu giữa View và Model. Ngoài 3 lớp này, Rails còn có thêm helper. Helper thường được coi là nơi chứa các đoạn mã logic phức tạp thay cho View.
While working on one of our projects that uses the ActiveAdmin gem, I started wondering, what is a gem exactly? It works like a library, gives your application some ready-to-use functionality, but how does this happen? Đọc tiếp “Creating a GEM – a step by step tutorial [netguru.co]”
Solr is a search engine platform based on Apache Lucene. It is written in Java and uses the Lucene library to implement indexing. It can be accessed using a variety of REST APIs (e.g. XML and JSON). This is the feature list from their website:
Overview We will be setting up a Ruby on Rails development environment on Mac OS X 10.10 Yosemite. Older versions … Đọc tiếp Setup Ruby On Rails on Mac OS X 10.10 Yosemite