Wenying

Archive for the ‘Funny Anime’ Category

04 Dec, 2008

Sin Chan - Kazama Menjaga Himawari

Posted by: admin In: Funny Anime

http://www.youtube.com/watch?v=Fg5KhZ8DHQ4

Kazama watch over Himawaris (Sin Chan’s Sister)
Language: Malay

Problem
Upgrading an existing Ruby on Rails application from 1.2.3, to 2.0.2, presents few problems. I will try and keep a record of the ones I encounter along the way, here.
Solution

Change the config/environment.rb to let the application know to use the 2.0.2 gem rail version,
change the following line from:
RAILS_GEM_VERSION = ‘1.2.3′ unless […]

Problem
You are developing on the latest version of Rails (2.1), but your production server for deployment uses version 2.0.2 (as dreamhost is using at the moment).
Solution

First change the environment.rb file to use the rails version in your deployment server
RAILS_GEM_VERSION = ‘2.0.2′ unless defined? RAILS_GEM_VERSION

You should probably be geting the error: undefined method = time […]

29 Jan, 2008

flashgarden

Posted by: admin In: Funny Anime

Enjoy a friendly community of fellow designers and developers.
Ruby On Rails

18 Nov, 2007

ActiveScaffold : update_table

Posted by: admin In: Funny Anime

If you get this strange error :
ActiveRecord::RecordNotFound (Couldn’t find Structure with ID=update_table)

You have probably taken a start with “normal” scaffold and then tried to install activescaffold.
Simply edit your config/routes.rb and remove all map.ressources :

10 Sep, 2007

Rails 2 new ways

Posted by: admin In: Funny Anime

Problem
To get used to the new ways of working with Rails 2.
Solution
Here are some of the new ways of doing things in Rails 2.

Create a scaffold and migration on one step:
./script/generate scaffold product fied1_name:string field2_name:string field3_name:float
Make sure that you don’t have any previous migration(ie manually created) for the same model, as the generator […]


Categories


  • Neil Duckett: I’m working all week …. but, i’m working out of the Shinjuku office so my travel for the day is a 12 minute walk each way instead
  • ジェイソン (Jason): Like Neil, I’ll be working all week. I did manage to score Thursday off to visit some of Reiko’s friends … but that’s abou
  • billywest: @Jason C - Sounds awesome. I’m on the way. Call you when I get to Shimoda @ジェイソン and Neil - Hope you guys get some real su