Tags » Ruby On Rails

Getting Back on the Rails with Ruby

i looked into Ruby on Rails again and man is it ever complicated if the initial installs don’t go well. The basics are easy but when a major bug with the OS conflicts with a database driver (hello Yosemite and PostgreSQL!), things escalate quickly. 135 more words

General Thoughts

Active Admin Gem for Ruby on Rails App.


Go to you project file and open gemfile. Add followint gems in this file.

gem ‘activeadmin’, github: ‘activeadmin’ gem ‘devise’

Run bundle to install the gem in your project… 141 more words


Array to ActiveRecord

What I had: tasks_array (array of task rows containing all attributes in db)

I was trying to convert this array to ActiveRecord when I was doing my rails project. 63 more words

Ruby On Rails

Playing with Rails [P2]

Lần trước mình buồn ngủ quá nên viết nhảm nhí sơ sài quá thể =)) Lần này mình sẽ cố gắng giải thích từng bước cách thức Rails hoạt động như thế nào để tạo ra 1 web application nhé. 2,211 more words


CMS for Ruby on Rails

As a way of perhaps finding a new website platform where I might be able to use Ruby rather than PHP I’m looking to RoR CMS packages. 169 more words

Ruby On Rails

Fix in ruby 2.2.x for Warning: Circular Argument Reference

—————Change this in activerecord/lib/active_record/associations/has_many_association.rb—————————

– def has_cached_counter?(reflection = reflection)
+ def has_cached_counter?(reflection = reflection())

– def cached_counter_attribute_name(reflection = reflection)
+ def cached_counter_attribute_name(reflection = reflection()) 131 more words