DISQUS

DISQUS Hello! Life is grand is using DISQUS, a powerful comment system, to manage its comments. Learn more.

Community Page

Jump to original thread »
Author

Getting around format in Rails and Ruby

Started by paulmwatson · 10 months ago

In Rails you can’t have a column named format in a table as it is a reserved Ruby word. Fair enough. But how then can you handle a database that has a column named that in Rails without using views?
It turns out to be surprisingly logical; modify your Rails model with two new metho ... Continue reading »

0 comments

This thread has no comments yet.

Add New Comment

Returning? Login