first app - some questions

2014-04-19 Thread Sebastjan Hribar
Hi, I have a couple of questions: 1. What is the difference between these two ways of setting up migrations: 1.1 example from the camping book: - |class BasicFields < V 1.0| |||def self.up| |||create_table Page.table_name do |t|| |.| |

Re: first app - some questions

2014-04-19 Thread Bartosz Dziewoński
On Sat, 19 Apr 2014 13:22:52 +0200, Sebastjan Hribar wrote: 2. UTF-8 encoding doesn't work. Special characters like č, š, ž from my language are not displayed. Should I force the encoding and how? You need to do two things: a) Ensure that the source text is, in fact, encoded in UTF-8. Your