You can use a UUID instead... never used it myself though. google "rails uuid"
On Feb 17, 5:10 am, Valentino Lun <[email protected]> wrote: > Dear all > > In rails, the are some magical column such as id, created_at, updated_at > can make things easier. > > However, within my organization, due to whatever reason, the data type > identity is not allowed to use. So, the magical id column cannot be used > in my rails project. I know that there is some actions rely on the > likehttp://localhost:3000/controller/action/123, where 123 is the :id...and > in edit_path(:id), It seems that without the id column I cannot perform > these actions.. Am I right? > > Should I change other web framework in my project (but I love rails > ^_^)? Or any workaround available in rails if my table without the id > column? Is it really a matter for the CRUD action without id column? > > Please give me some advices. > > Thank you. > > Valentino > -- > Posted viahttp://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

