search for: riby

Displaying 13 results from an estimated 13 matches for "riby".

Did you mean: rib
2006 Aug 09
7
function before_save
Hi everybody I would like a function as the "before_save" method in the model. But it must be the opposite. When I take out data from the database through the model, I want to call a function before the data are available in the controller. Can anyone help me? ---- >>>> thx <<<< ---- -- Posted via http://www.ruby-forum.com/.
2006 Jan 03
5
Riby killed after few seconds
Hi, I followed the tutorial about installing RoR on a Pair Networks'' Host. Everything seem to work but the application lives few seconds (checked in browser, it works ) and then the process is killed. Another thing, every time I connect to the host through SSH I have to type setenv GEM_PATH ~/lib/ruby/gems/1.8 (freeBSD) Otherwise it doesn''t find Ruby, is there a way to avoid
2006 Aug 14
3
last record
hi @all Can anyone help me? I would like to read the last two records from a database. In the database I have a table with id, name and sex. How can I read the last two records from the entered names, who are female? There are two conditions I need: > last entries > sex-condition User.find(:all, :condition.....) ?? -- Posted via http://www.ruby-forum.com/.
2006 Aug 17
3
Use collection_select
I use the following code in my view: <%= collection_select(''datedata'', ''date'', @allDate, :id, :date) %> It''s show me the date of all entries in the database (Dropdown menu). Additional, I wrote a helper method "showDate" in the application_helper.rb! How can I use this method in the collection_select for every date entry? thanks
2006 Aug 08
2
validate data
Can anyone help me?? I validate a form-field: protected def validate errors.add(:name, "should be longer than 2 chars") unless name.length <= 2 end I want to check the variable name. It should have a size over 2 characters. But my function "validate" doesn''t run! Why ??? -- Posted via http://www.ruby-forum.com/.
2006 Aug 03
2
Link to an other model
Hi I a newbie in RoR! So I have an easy question for some of you: I want with the following codeline link to the Admin-Controller. The codeline is on the Product-View with a seperate controller "Product". <%= link_to ''Back'', :action => ''Admin'' %> But it doesn''t work correctly. Can anyone help me? I want to make a simple link!
2005 Jul 07
8
Mass mail performance
How does Action Mailer perform when sending out say 3,000 emails? I know the answer will have a lot to do with the hardware, but in general, is Action Mailer up to the task of completing an operation like this in reasonable time?
2017 Jul 21
0
Wine release 2.13
The Wine development release 2.13 is now available. What's new in this release (see below for details): - Unicode data updated to Unicode 10.0.0. - Nicer looking default mouse cursors. - Persistent connections support in WinHTTP. - Message Framing protocol support in WebServices. - Improved metafile support in GdiPlus. - Debug registers support in x86-64 exception handling. -
2017 Apr 28
0
Wine release 2.7
The Wine development release 2.7 is now available. What's new in this release (see below for details): - TCP and UDP connection support in WebServices. - Various shader improvements for Direct3D 11. - Improved support for high DPI settings. - Partial reimplementation of the GLU library. - Support for recent versions of OSMesa. - Window management improvements on macOS. - Various
2006 Aug 08
1
form parameter
How can I change some parameters in a function of the controller. I have a User_Controller, who''s responsible for update the information fields in the database. The parameters are "id", "firstname" and "lastname". Now, I want to manipulate parameter "lastname", because I would like to add at the end a point. >> Thomas Miller
2006 Aug 10
2
validates_uniqueness_of problem
hi Could I check to strings for uniqueness together and not individually? That means for me in an example: name: sex: result: ----- ---- ------- miller m unique miller f unique jackson m unique miller m isn''t unique So I want to check the name and sex be together unique. The name isn''t
2006 Aug 14
0
date_select form
How can I define a desired date in the ActionHelper "date_select". I want to select always the last date in the current month. Select: ------- June -> 2006-06-30 July -> 2006-06-31 and so on.... -- Posted via http://www.ruby-forum.com/.
2006 Jul 31
5
PostgreSQL
Hi @ all Does anyone has some experience with PostgreSQL and RoR? Does it gives any disadvantages or problems with PostgreSQL? I have a webapplication, that manage (read/write) many records (no. 200''000 records) and I search a ideal database. Actually, I have two options: - MySQL / - PostgreSQL And now, I would like to ascertain a good solution... Thx, ribit -- Posted via