Tag iphone

New TV and iPhone 3GS

I got new TV yesterday. I watched a game show called "I survived a japanese game" show from ABC last night. The show combine japanese game show with reality show. They did very good job, it's very funny and I couldn't stop watching it. Moreover, today I got my iPhone 3GS. I haven't activated it yet. I plan to do it tonight.

About internship, I presented the application that I've been developing for 4 weeks. The clients like it and want to use it. In the past the clients use spreadsheet to do one task. My manager think that it can be changed to database application. So, she assigned this job to me. We designed the database together and I developed the application. I've done two types of aplication. One is Access application and another one is web application with ASP.NET. They do the same thing, have the same function. My manager like the web one more than the Access one. However, we cannot go with it because the server doesn't support ASP.NET.


RSS Feed and iPhone problem

As you can see, My blog just have RSS feed. @wiennat asked me that why I don't have RSS. So I did it . It's very simple and easy to create RSS feed. But if you google it using keyword "rss", you will get many unrelated results. Also, I used Rails 2.3.2 and many examples used lower version and it didn't work with 2.3.2. For you guys who use will_paginate, creating only .rss.builder file is not enough because it will show only posts in that page. You can define new method in the controller and map the route to it. Example

"articles_controller.rb"
def feed
  @articles=Article.find(:all)
end

"routes.rb"
map.connect 'articles/feed.:format', :controller => 'articles', :action => 'feed'

Remember that the order of map.connect is important. The top most has higest priority. So, you have to put this line before "map.connect ':controller/:action/:id". Good luck with RSS.

About my iphone, today I cannot use internet from my iphone. I searched and found that it might because my old iphone setting. I disable GPRS in my old one and when I sync it with the new one it still disable. It's very easy to fix this problem just reset it.

Step:

  1. Go to Settings
  2. Choose General
  3. Choose Reset
  4. Choose Reset Network Settings
  5. It works!

Have a nice weekend!