听力被打击了:
- 词汇量还是不够 => 需要多多背单词!!要加油
- 做笔记有点盲目 => 以听为主,主要概念和细节才需要记下来;要注意方法
实力不行啊。。继续努力。。
另:RP极度下降//比较恐怖
听力被打击了:
实力不行啊。。继续努力。。
另:RP极度下降//比较恐怖
9月28日开始,上海到绍兴的城际列车停开了,换成了动车,本来想么就是涨价而已,谁知是停开了7对列车,开行了1对动车组。不知道哪个智商有问题的人想出来的调整方案,莫非我以后回家都要动车到杭州再换车??真是有毛病,被逼上梁山坐汽车了,还得去城里买票,来回4小时买票,真没事找事情做。
当然运行图中提到了有2对车到宁波的,其实只有1对在绍兴停车,另外说开行三对临客呢,似乎没有1对实际在开。还有上海到宁波坐火车的其实不多吧,因为有跨海大桥在,所以其实都到绍兴下,可是为啥会只有1对呢??
附:上海铁路局公布甬台温、温福铁路列车运行图
I'm new on rails, and I encountered a problem when I am doing a tutorial: that's a simple application without a database. First "rails simple_app" And modify "enviroment.rb" # Skip frameworks you're not going to use. To use Rails without a database, # you must remove the Active Record framework. config.frameworks -= [ :active_record, :active_resource, :action_mailer ] However, after that when I execute the command "ruby script/generate model Item" there will be an error raised: uninitialized constant ModelGenerator::ActiveRecord Anyone knows the origin of the problem, and how to solve it BTW: I am using rails 2.3.4 and ruby 1.8.7
2009/9/25 Wenqing Gu <rails-mailing-list@andreas-s.net>: > config.frameworks -= [ :active_record, :active_resource, > :action_mailer ] > > However, after that when I execute the command "ruby script/generate > model Item" there will be an error raised: > uninitialized constant ModelGenerator::ActiveRecord > > Anyone knows the origin of the problem, and how to solve it I may be wrong ( I often am ) but I would guess that the Model generator assumes that you are using ActiveRecord. It does generate migrations after all. Unless you really want to use Rails without a db then I would give it one. You do not have to do anything with it in your first forays, just make it available to keep Rails happy. Colin
Ctrl + / comment current line
Ctrl + \ show suggestions && auto
Alt + Shift + . selects the enclosing block
Alt + Enter display the quick fix options
Press Ctrl and drag the cursor over one of the calls to the gsub method.
The IDE displays the RDoc documentation for the gsub method, as shown in the next figure.