Posted by obondar
on Monday, December 10
While rendering some template you can get error message, something like :
ActionView::TemplateError (Couldn't find template file for admin/users/_new_edit_en
The "_en" is added by gettext. To make gettext skip trying to render template that is not exists, I made change in gettext gem:
ruby/gems/1.8/gems/gettext-1.10.0/lib/gettext
line 328 :
return render_file_without_locale(localized_path, use_full_path, local_assigns) if File.exists?(localized_path)
Posted by obondar
on Friday, November 02
The first version of brainstorm application to get right solutions is online. I do not have the name for it now. The challenge is that there are many way to use this application, you can find ideas, solutions, questions. How to give name for all of them?
Initially I thought about application for asking questions, but while working on it, I found that there are many other possibilities.
So, what is ready? Now you can:
- register
- create new brainstorm round
- enter suggestions, issues, questions, ideas, whatever it is
- edit suggestions
- select suggestion that is really important
- sort selected suggestions
- edit name of round
- browse all rounds
- close round, so you stop with adding new suggestions
In short time I am planning to add:
- Sharing
- Send round to email
- Invite friend to brainstorm round
- Start new round from selected suggestion
Do storm!
Please, write a word, comments or suggestion about application.
Thank you!
Posted by obondar
on Saturday, October 27
Suppose you are logged in as root.
cd /usr/src/
wget http://sysoev.ru/nginx/nginx-0.5.32.tar.gz
tar -xf nginx-0.5.32.tar.gz
cd nginx-0.5.32
apt-get install libpcre3 libpcre3-dev
./configure
make
make install
Configure nginx now:
/usr/local/nginx/conf/nginx.conf
Example to configure
Posted by obondar
on Thursday, October 25
I am working on deployment web site that should serve thousands online users. Right now website is staying on 4 servers, one for Nginx, two mongrel clusters and one database server. Think to use mongrel clusters as cache servers for images, as images will make the part of traffic.
There is an idea to move images to separate database. Also to implement cache system to make database's life more easy. And of course, optimization, optimization and optimization code.