search for: informatikamihelac

Displaying 20 results from an estimated 34 matches for "informatikamihelac".

2006 Mar 23
8
DRY principle - how to implement?
...ms that I have one more SQL statement in for every record processed. Second way does not seems preferred in Rails (or I just didn''t see it anywhere?) Does anyone have any suggestion about these? Thanks in advance, Bojan -- Bojan Mihelac Informatika Mihelac, Bojan Mihelac s.p. | www.informatikamihelac.com -> tools, scripts, tricks from our code lab: http://source.mihelac.org
2006 Jun 02
3
Advice, why value_before_type_cast in FormHelper?
...would like to have same format in forms, but because of value_before_type_cast is called, form fields are filled with ''yyyy-mm-dd'' or timestamp integer, etc. Thoughts / comments / sugestions? thanks in advance, -- Bojan Mihelac Informatika Mihelac, Bojan Mihelac s.p. | www.informatikamihelac.com -> tools, scripts, tricks from our code lab: http://source.mihelac.org
2006 Jan 11
10
Recommend server for developing RoR on win
...kbar for every site running and it have to be started manually. Apache with CGI is to slow and using FastCGI on the other side brings me lot of problems, like randomly not working RoR sites. Any help is appreciated. Thanx, Bojan -- Bojan Mihelac Informatika Mihelac, Bojan Mihelac s.p. | www.informatikamihelac.com -> tools, scripts, tricks from our code lab: http://source.mihelac.org
2006 Jul 26
7
RHTML in database?
Hi, is it possible to store RHTML templates or partials in database? thanks, Bojan Mihelac -- Bojan Mihelac Informatika Mihelac, Bojan Mihelac s.p. | www.informatikamihelac.com -> tools, scripts, tricks from our code lab: http://source.mihelac.org
2006 Feb 02
3
What is best way to show only records belonging to logged user?
...ods in model and add clause something like "WHERE id_user = #{user_id}". I would like to hear if you would do it likewise and if yes is it better to hack find_by_sql() or find() method? thanks in advance, Bojan Mihelac -- Bojan Mihelac Informatika Mihelac, Bojan Mihelac s.p. | www.informatikamihelac.com -> tools, scripts, tricks from our code lab: http://source.mihelac.org
2006 Mar 23
11
Contact page
Hi I have justed started using Rails. How do I create a contact page. By this I mean one with a contact form etc. Thanks -- Posted via http://www.ruby-forum.com/.
2006 Jun 21
5
module and cache/restarting server
Hello, It seems I need to restart webrick everytime I modify a module in order for my modifications to be taken into account. Is this normal and is there a workaround? Regards, -- ---------------------------------------------------------------------- Yannick Majoros http://www.inma.ucl.ac.be/~majoros Informaticien UCL/INMA-MEMA 4, avenue G. Lema?tre B-1348 Louvain-la-Neuve Tel:
2006 Jul 21
1
Capistrano before and after tasks
...b do > namespace :test do > task :after_clone_structure do > puts "after_clone_structure_to_test" > end > end > end Anyone know what I am doing wrong? thanks in advance, Bojan Mihelac -- Bojan Mihelac Informatika Mihelac, Bojan Mihelac s.p. | www.informatikamihelac.com -> tools, scripts, tricks from our code lab: http://source.mihelac.org
2006 Jun 12
2
Pdf::Witer question
...bed Type1 font with PDF::Writer? I read manual, tried everything but nothing seems to work (The font ''FontName'' contains a bad /BBox error on PDF). any help or hint would be really appreciated, Bojan Mihelac -- Bojan Mihelac Informatika Mihelac, Bojan Mihelac s.p. | www.informatikamihelac.com -> tools, scripts, tricks from our code lab: http://source.mihelac.org
2006 Jun 20
1
Possible to check if form field is required?
...le, I would like to be able to dynamically add asterisk with some helper method if city is required here: City*: <%= text_field ''accomodation'', ''city'' %> thanks for answer, Bojan Mihelac -- Bojan Mihelac Informatika Mihelac, Bojan Mihelac s.p. | www.informatikamihelac.com -> tools, scripts, tricks from our code lab: http://source.mihelac.org
2006 Jun 20
3
return unique rows with finders
I''m looking through the api for something like find(:all, :distinct => true) so that multiple instances of a row won''t be returned - is this possible? Thanks!
2006 Jan 26
2
Newbe Question: Character Encoding
I have to present german umlaute as "?" on my webpage. When writing the text within the view, everything is fine - the characters are presented correctly. When I declare variable within the controller (e.g. via flash or as a list of values for a listbox) the text is displayed with the umlaute replaced by strange characters. I assume I have to adjust the character encoding somewhere.
2006 Jan 30
1
how to get column_for_attribute?
...d? > class SomeTable < ActiveRecord::Base > > def self.content_columns > column = column_for_attribute(''sometable_id'') > super > end > end Any help is appreciated. Bojan Mihelac -- Bojan Mihelac Informatika Mihelac, Bojan Mihelac s.p. | www.informatikamihelac.com -> tools, scripts, tricks from our code lab: http://source.mihelac.org
2006 Jul 03
5
FPDF set FONT_PATH
hi all, im using ruby FPDF to generate my pdf. the problem im facing now is i need to use some new font that is not included in basic fpdf font. then i have generated the font using the makefont.rb. but then i dont know how to define the font_path in ruby. the font work great in PHP-FPDF. Is anybody there had solved the problem im facing now. ** sorry for my english ... -- Posted via
2006 Jun 29
2
Shared or VPS/dedicated hosting
...an handle 1000 users a day without problems. I know there are many factors involved but would like to hear your thoughts, when would you upgrade and if you would deploy rails app on shared hosting at all. thanks in advance, Bojan -- Bojan Mihelac Informatika Mihelac, Bojan Mihelac s.p. | www.informatikamihelac.com -> tools, scripts, tricks from our code lab: http://source.mihelac.org
2006 Jan 09
3
FCGI and Apache2 on win performance problem
...tCGI crashlog is full of: > [09/Jan/2006:10:12:20 :: 952] Ignoring unsupported signal USR1. > [09/Jan/2006:10:12:20 :: 952] Ignoring unsupported signal USR2. > [09/Jan/2006:10:12:20 :: 952] Ignoring unsupported signal HUP. -- Bojan Mihelac Informatika Mihelac, Bojan Mihelac s.p. | www.informatikamihelac.com -> tools, scripts, tricks from our code lab: http://source.mihelac.org
2006 Jul 02
1
typo working only when webbrick is running?
hi. i currently have tyop setup on a shared rails hosting server. my problem is that the ''links'' on my blog site are not ''active''. the home page is fine, but when you try to click on the menu, the buttons take you nowhere. but when I start webbrick, the site then becomes fully functional. any ideas? -- Posted via http://www.ruby-forum.com/.
2006 Jul 10
2
Formatting of dates in a text_field
When displaying a date field using a text_field object, is it possible to specify how the date will be formatted? <%= text_field ''item'', ''created_at'', {:class=>"text-input", :size=>18, :disabled=> true} produces 2006-07-07 12:00:00 I would like to reformat it to something like 07/07/2006 12:00pm -- Posted via
2006 Jul 12
1
Is it possible to reload all ActiveRecord objects
...9;s of some class that are already loaded, something like Book.reload_all? I know that I am able to reload specific objects with reload method but I would like to reload all that are currently in memory. thanks in advance, Bojan -- Bojan Mihelac Informatika Mihelac, Bojan Mihelac s.p. | www.informatikamihelac.com -> tools, scripts, tricks from our code lab: http://source.mihelac.org
2006 Jul 20
0
Textile advice
...9;s not allowed and format in it textile (something similiar TinyMCE and rich text other editors do when you paste from word). I would like to hear if there is any parser or better way to do it. Thanks for your thoughts. Bojan -- Bojan Mihelac Informatika Mihelac, Bojan Mihelac s.p. | www.informatikamihelac.com -> tools, scripts, tricks from our code lab: http://source.mihelac.org