开发者

Ruby on rails - Model, validation coordinates

开发者 https://www.devze.com 2023-03-09 04:17 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消