Displaying 10 results from an estimated 10 matches for "jesperrr".
Did you mean:
jesper
2006 Jul 24
3
Creating performance test fixtures from development db? How?
Hi all!
I''m looking into the testing chapter of Agile Web Development With Rails
(2nd ed.).
I want to performance test my app, but I''m too lazy to write fixtures for
performance test.
I''d rather use the data from my development db (because the data is so close
to the production data).
How do I get the data into the test db without writing fixtures?
Could you please
2006 Apr 17
1
Autocompleter to read value from hidden field
I have an autocomplete field with road names (looking up in a database with
approx. 100,000 road names).
To limit the number of roads, i want an extra input field where to put
postal code.
I''m currently using <%= text_field_with_auto_complete %> for the field.
What is the best way in Rails to intercept the Ajax call and send the value
of the postal_code field?
(I guess I could do
2006 Aug 23
11
i18n friendly, plugable Rails Core
In my work with a simple localization plugin, i''m running into a lot of
places in the Rails core, where text and other localization specific
information is hardcoded.
I''ve included some examples in the bottom of this post.
It''s hard for an outsider to know, if the hardcoded values are a result
of inconsistency in code, or "by design". I hope that we can have
2006 Aug 13
0
Announcement: Really simple localization plugin
I needed something simpler than Globalize and GLoc to localize my Rails
application into Danish. I packed it into this plugin. Feel free to use it.
Languages available: Spanish, German, Swedish, Danish, and ("Swedish Chef"
for the fun of it)
Plugin available at http://visitjesper.homeip.net/plugins/
IMPORTANT: Plugin directory likely to move to more appropriate location
anytime
The
2006 Apr 16
2
Possible to implement Textmate key shortcuts in RadRails?
The Rails demo videos is a great showoff on how productive Textmate editor
is. The 15 minute build-a-blog example should be twice as long if there had
been no keyboard shortcuts in Textmate.
Unfortunately, I use windows and thus RadRails. Does anyone know how to
implement the same keyboard shortcut into RadRails?
Sebastian Friedrich made an overview of the keyboard shortcuts:
2006 Feb 05
0
Newbie AJAX validation problem. How do I validate field and color field on error
I want to validate a field via AJAX in my Rails application. If there
is an error, I want to set an error class on the text field and give
it class="error" to color it appropriately in CSS.
I''ve been looking at
<%= observe_field ''fieldname'',
:update => ''another_fieldname'',
:url => {:action =>
2007 Dec 09
0
Windows, Rails2.0, Zlib::BufError or Mongrel crash with rubygems update --system
(this will be a bit off topic, but in my opinion important info for
Windows users)
Hope i get your attention before running "gem update --system" on
win32, as the 0.9.5 version of rubygems caused me some problems
I have done what I could to gather the information and write what
worked for me:
Rails 2.0, gem install, Windows => Mongrel Trouble
2007 Sep 18
0
distance_of_time_in_words hardcoded strings should be separated for easier localization
Hi everybody.
After DHHs talk at RailsConf yesterday, it''s essential that some of
you can rectify this patch for ruby on Rails
Please help me an have a look at
http://dev.rubyonrails.org/ticket/9587
Thanks!
Jesper Rønn-Jensen
blog: www.justaddwater.dk
=====
ActiveRecord::Errors has a placeholder (@@default_error_messages) for
messages that can be overridden.
Just the same way, the
2006 Mar 29
2
delete_all not resetting auto incement in database
Hey
I''m writing a simple admin interface thats reading user data (skills)
from a comma separated file.
To clear the database before inserting new skills, I use
Skill.delete_all
Then I insert the new values I read from a file. Everything goes well
up to the point where I see that auto-generated ID''s are not starting
from 1. They start off at 840 (responding to the number of
2006 Apr 11
10
Ruby on Rails as rapid prototyping tool
[This might be slightly off-topic]
I just posted my thoughts on how we use Rails as rapid prototyping tool in
Capgemini.
http://justaddwater.dk/2006/04/12/rails-prototyping/
Unfortunately I cannot give details as to which clients due to privacy
issues. Just want tho share my thoughts on this and hear if you have
anything to add.
--
Jesper R?nn-Jensen
Capgemini Danmark A/S
Oernegaardsvej 16
DK -