Ruby on rails - Model, validation coordinates
here is my question. I have a map and I want the user can create a marker only into a certain area. In javasc开发者_高级运维ript all is done well BUT I want a validation also in Ruby on Rails, on the model. How can I proceed? Thanks a lot for help!
There are model validations, which are of great help. Also described here.
精彩评论