Rendering a JSON or XML view in rails 3 is straight forward enough.As Hobo does not use views, I cannot wor开发者_JS百科k out how to do the same in a hobo project and the docs are not very illuminatin
I\'m thinking of adopting HOBO for quicker development of some Rails apps I want to develop on the side for myself.
How can I use radio buttons in a form in Hobo Rails? I want a gender field with two options \"Male\" and \"Female\". If I use the defaul开发者_如何学Got enum_string type it creates drop down select in
I\'m getting an error when running db:setup for my Hobo project with a clean database. I have two models, A and B, where B extends A through single-table-inheritance. Creating everything works. But if
validate :check_product_stock def check_product_stock @thisproduct = product.id @productbeingchecked = Product.find_by_id(@thisproduct)
I have a simple point of sale application written in ruby and rails, and hobo. Originally intended to be for only one product at the time, now the client wants to add multiple products into the sale