- Rails 3.1 is significantly different both from rails2 and from rails3.0, so that you should read it if you want to catch up latest rails.
- In this book, all samples are written with Ruby 1.9 - there is no exaggeration that Pragmatic Programmers recommend using Ruby 1.9.
- In this book, MinGW is introduced as Windows Environment - there is no exaggeration that Pragmatic Programmers recommend using MinGW .
Tuesday, November 29, 2011
I've finished reading "Agile Web Development with Rails 4th edition"
I've finished reading Agile Web Development with Rails 4th edition.
Saturday, November 26, 2011
Tips for MongoDB cache store and assets on Rails 3.1
(continued from phosphorescence: How to use MongoDB as model, session store and cache store on Rails3)
So we should configure to cache page caches, action caches and fragment caches, and not to cache assets at all. Referring these two sites(1 2), we can do it by editing config/environments/production.rb like below:
MongoDB cache store does not accept binary cache
Rails3.1's cache feature caches all – page caches, action caches, fragment caches and caches for files called assets(JavaScripts, stylesheets and images). All these are cached in default. But MondoDB cache store we have chosen in previous article is only supporting to cache text files. In other words, MongoDB cache store accepts JavaScripts and stylesheets, but does not accept images.So we should configure to cache page caches, action caches and fragment caches, and not to cache assets at all. Referring these two sites(1 2), we can do it by editing config/environments/production.rb like below:
require 'rack/cache'
........
# Prevent caching assets
config.middleware.insert_before Rack::Cache, ::ActionDispatch::Static, 'public', config.static_cache_control
........
Thursday, November 24, 2011
How to use MongoDB as model, session store and cache store on Rails3
When we use rails3 as out-of-the-box, we implicitly choose ActiveRecord for model, Cookie for session store and on-memory for cache store. But we can choose MongoDB for all of them. I start to explain these ways one by one.
Monday, November 21, 2011
Mono Project is looking for answers to the questionnaire
Labels:
Mono
On download page of Mono project, they are looking for answers to the questionnaire. In current status, Mono project faces to mobile products, and less facing to existing products and features. So, if you want to run ASP.NET MVC, F# and so forth on Mono Framework in the future as same as current, please visit the site and appear with answering the questionnaire.
On download page of Mono project
On download page of Mono project
Friday, November 18, 2011
openSUSE 12.1 has been released - for new UXs
Labels:
openSUSE
2 days ago, openSUSE 12.1 has been released (see this post). This is not only the release for latest packages but also the release for new UXs.
New Installation Experience
If you want install from openSUSE 11.3 or former one, or want to clean-install, download and use install media as you done before. But if you want to install from openSUSE 11.4, you can update with this approach. Of course, it's easy.New Cloud Experience
openSUSE 12.1 supports cloud solution - named "OwnCloud". You can seemlessly use Dropbox, Ubuntu One, Facebook and so forth via OwnCloud.New Backup Experience
openSUSE 12.1 also supports "Snapper" - the backup system with using snapshot feature of btrfs. If you want to use this feature, you should use btrfs file system.Comparison with OS X Lion
IMO, these UXs are corresponding to OS X Lion's ones.| openSUSE 12.1 | OS X Lion | |
|---|---|---|
| Update Experience | easy to upgrade from openSUSE 11.4 | easy to upgrade from OS X SnowLeopard |
| Cloud Experience | OwnCloud | iCloud |
| Backup Experience | Snapper | Time Machine |
Subscribe to:
Posts (Atom)