Answer the question
In order to leave comments, you need to log in
Why does an error occur when using Russian characters in Flash notice Rails?
And so, there is ubuntu 14.04 and an application on rails 4.2. There is a notice in the validation. When using Russian characters in the message - error 500.
When running the application on windows, there was no such error.
Even with a regular expression like /\A[а-яА-ЯёЁa-zA-Z]+\z/ there are problems...
Answer the question
In order to leave comments, you need to log in
Most likely, either in the source code, or in the database, the Cyrillic alphabet is not in Unicode. Ruby waits for unicode, instead she gets invalid byte sequences and crashes. In general, look in the rail logs for what kind of error specifically occurs, otherwise it's hard to guess.
An approximate roadmap is
1) Knowledge of java core. Pay special attention to java multithreading, this is important and ignorance of this thing can play a trick on you.
At the expense of the bloody web, you will have enough knowledge of version 7 (java se 1.7) and finish learning the eighth in the process. The only exception, in order not to spit from hatred, is to learn the Date and Time api from version 8. It's gorgeous there, unlike 7.
2) After mastering java core, pay attention to sql (in general), html, css, js, sass, less.
3) Once you have dealt with point 2, you are ready for the web. And you need to choose either naked her or spring. Both have their pros and cons, and both have their own characteristics. But the worst thing is that all technologies can be mixed together ((((
4) If you decide to choose spring, read books, tutorials, and more on it.
For example, here is an example of a simple crud ( https://www.youtube.com/watch?v=e7swABdqOS4) But you can watch it only if there is a base. My advice for simple applications is to take the spring.
5) If her then read books on her and write your applications.
List of resources.
1) Java:
Bruce Eckel Philosophy java
Brian Goetz java concurrency in practice
Bloch effective java
javarush.ru for practice
2)
there are few books on these technologies + spring and they quickly google
courses like Grigory Kislin (there is on the tracker but it is better to strangle the toad and buy ) on this course you can get a holistic view of the entire stack
You need to watch courses on the Internet carefully, spend time understanding what java ee is, save yourself time and nerves. And you will learn the tools as far as possible
Take a textbook and first learn java core. Then you take other textbooks and study java ee. In programming, especially enterprise, it should not be more likely.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question