Questions tagged as 'ruby'

1
answer

When to use 'for x in y' and when to use 'each' [duplicate]

     This question already has an answer here:                   What's the difference between 'for x in y' and ' Enumerable # each '?                                      1 reply                                In my other questio...
asked by 18.02.2014 / 15:03
1
answer

Error initializing Redmine

After modifying one of my plugins under development in Redmine, it can not boot again and returns me the following message: ActionView::Template::Error (can not load translations from D:/Ruby/B233/plugins/uc_rh/config/locales/pt-Br.yml, expect...
asked by 19.03.2014 / 14:17
1
answer

How do I accept only letters in the entry in Ruby?

Given a string, you have to take only the uppercase and lowercase letters. And on the output show the same. How can I achieve this?     
asked by 14.08.2018 / 20:45
1
answer

Create levels of access to the system [closed]

Well, this question starts from scratch. I want to know how do I determine system access rules where there are 3 types of profiles: general administrator, local administrator and maintainer, where there are different rules for profiles. I wou...
asked by 15.02.2016 / 14:04