Posts by irobson • 456 points
5 posts
-
5
votes4
answers2538
viewsA: Should exceptions be used for flow control?
It is a very relative question (language, culture, community, ...) and, based on my knowledge, my answer tends to be: it depends. There are cases and cases, for example, I can answer by Java: I…
-
1
votes1
answer696
viewsA: After renaming a field in a table, how do I update the entire Rails project?
What do you mean by "update the whole project" ? Generate Scaffold again for it? rails g scaffold <model> You will have to overwrite the already generated files. If you have made important…
ruby-on-railsanswered irobson 456 -
2
votes1
answer2098
viewsA: How do I use git to organize my development, approval, and production environment?
Here at work we have the master as the version "always deployable" according to the github flow, for each Feature we create a branch "correcao_xxx", after tested, a pull request is opened, analyzed,…
-
11
votes4
answers688
viewsA: Superclass can become subclass?
Well, the concept of inheritance is somewhat misunderstood, though simple. Inheritance in O.O. isn’t just reusing code (different from what many say), it’s just a consequence. Inheritance shall be…
-
2
votes1
answer630
viewsA: How to get the client’s requisition?
Yes, it should work. In addition, you can use a more sophisticated method to work with session objects in JSF, which is the use of Externalcontext. ExternalContext contextoExterno =…