image_url function in Ruby on Rails
If you need to get the full URL of an image, just put the following code snippet into ApplicationHelper
module in your app/helpers/application_helper.rb
:
If you need to get the full URL of an image, just put the following code snippet into ApplicationHelper
module in your app/helpers/application_helper.rb
:
Thanks to Tom we now have avatars in openSUSE Build Service, so e.g. Involved Users list looks like this:
Read more ...I travel to work by bus. While they are usually in Prague Public Transit’s traditional colors - red and white, today this one came to bus stop:
Read more ...Today I applied the new Robert Lihm’s theme called Bento to GameStore web, so it doesn’t look like a quick hack anymore. This theme, which will be used across all openSUSE.org websites in the future, will also help to integrate GameStore into rest of the openSUSE infrastructure. You can visit the site here: gamestore.gk2.sk.
Read more ...The middle of November was very exciting for both Fedora and openSUSE communities. At first, openSUSE project unleashed its 11.2 release, which was followed by Fedora 12 a few days after. I thought it would be interesting to dig into bug reports which were filed during the development of these two releases in respective bugzillas.
Read more ...¡Hola openSUSE Folks! I’d like to announce my candidacy for openSUSE Board Elections 2009.
Read more ...At work we use LDAP and Kerberos authentication for users. During the testing of openSUSE 11.2, me and my other two colleagues (mmarek and mseben) have encountered problem that one cannot change the local password of user added with useradd
. Running passwd user
jumps directly to setting krb5 password. This was reported as bnc#545724. It turned out that this is caused by the line:
This article is about openSUSE 11.2 Release Party in Prague, Czech Republic and is probably not very interesting for people living abroad. :-)
Read more ...We had a listing of pending requests in the Build Service for a while. Unfortunately, it was mashed together with “My Projects” view and one couldn’t do anything with them. Few days ago, Jan Loeser added support for handling these requests directly in the web client. I liked the idea, so I decided to spend some time on it, too.
Read more ...Lots of programs that bring their own libraries use the following snippet in their wrapper scripts:
Read more ...