similar to: Class redefinition

Displaying 20 results from an estimated 300 matches similar to: "Class redefinition"

2006 Aug 30
4
Mongrel service never starts
I''m on a Win2K server environnement running ruby 1.8.5 and mongrel I''ve followed the tutorial and everything went fine until I start the service... Here is the output I''m getting : C:\ruby\bin??>mongrel_rails service::start -N inventaire One moment, start pending One moment, stopped One moment, stopped One moment, stopped One moment, stopped One moment, stopped
2006 Aug 18
4
Mongrel setting with Mysql error
Hi, I''m pretty newb at Rails deployement stuff. I''m setting up a Mongrel web server on windows following the tutorial on the official site. My app works except when there''s interaction with MySQL. I get this error : "Uninitialized constant Mysql" Now i''m pretty lost and i''m sure i''m doing something wrong. I''ve tried
2006 Aug 17
2
Knowing the partial iteration number
Hi, How can I know the iteration number of a *render (:partial)* iterating through a collection? Example: I got a collection containing 3 elements: *John *Pierre *Chris John would respond to 1, Pierre to 2 and Chris to 3 and so on... Kind of like the *cycle* method acts but to know the iteration number. Guillaume Carbonneau -------------- next part -------------- An HTML attachment was
2006 Aug 17
3
Developing in different versions of rails at the same time?
Hi, I was wondering if some of you have had to keep more than one version of Rails on your machine at a time? If you have more than one customer, they may have different requirements. You might need to work on a pre-existing app that is not scheduled to be moved to a newer version of Rails right now. How is the best way to deal with this? thanks, jp -- Posted via
2024 Jan 19
2
Provisioning new AD Domain Controller
I'm trying to figure out the user.group of my domain administrator account. getent gives me: # getent passwd Administrator HPRS\administrator:*:0:100::/home/HPRS/administrator:/bin/false If I chown a file: chown HPRS\\administrator.100 thisfile I get: # ls -l thisfile -rwxrwx---+ 1 root users 68973 2022-08-08 09:12 thisfile If I do the same for normal domain users: # chown
2024 Jan 18
1
Provisioning new AD Domain Controller
On Thu Jan 18 14:11:45 2024 Sonic <sonicsmith at gmail.com> wrote: > > hosts file? stale dns records? I listed my hosts file in my first message: 127.0.0.1 localhost 192.168.1.60 mail.hprs.local mail Since I had provisioned initially with the SAMBA_INTERNAL DNS backend, and therefore Samba manages DNS, I thought perhaps there was a "stale dns", so
2006 Jul 05
2
Rails debugging - a (slightly) better approach?
Hi all, First up hello everybody, I''m new to this forum. I am also new to Ruby and Rails. One thing that struck me as very inconvenient for someone just learning the Rails ropes is that (apart from Arachno and Komodo, which at the moment I cannot afford - and don''t particularly like) there is no reasonable debugging support for Rails. I know about breakpointer which - while
2006 Jul 28
12
MenuEngine
Hi all, MenuEngine is a small Rails engine that can generate templated drop-down DHTML menus commonly used for web site navigation. Supports creation of menus from a YAML file, from code and from pre-configured HTML. Optionally integrates with UserEngine for authorization. http://www.muermann.org/ruby/menu_engine Project page: http://rubyforge.org/projects/menuengine This is my first attempt
2010 Jun 17
1
No graphics capability on fresh install of R2.11.0 on FreeBSD 8.0
G'day all, I am working on a new FreeBSD 8.0 Server (remotely located), and have installed (now several times) R 2.11.0 but I cannot get any graphic outputs (everything else seems to be happening fine...) During install I have noticed and checked that png, jpeg, cairo etc libraries are available - here is the build output : R is now configured for amd64-portbld-freebsd8.0 Source
2006 Aug 09
6
How do you desing forms in RoR
Hi all, what is the best way tod esing a form in RoR? Do you use Dreamweaver or something similar? thanks -- Posted via http://www.ruby-forum.com/.
2006 May 30
1
executable file with R
Hi, I made an R function, and I want make an executable applet with it. Do you know how it is possible? Thank for your help. Romain -- Lorrilli?re Romain UMR 8079 Laboratoire Ecologie, Syst?matique et Evolution B?t. 362 Universit? Paris-Sud 91405 Orsay cedex France tel : 01 69 15 56 85 fax : 01 69 15 56 96 mobile : 06 81 70 90 70 email : romain.lorrilliere at
2006 Aug 10
4
How to upload all images in a folder?
Instead of making a form to upload one picture at a time, I''d like to have the File Column plugin accept a directory, and have each picture be uploaded and thumbnails created (w/ RMagick). Has anyone done this? Anyone have a good idea where to start if I were to do it on my own? Thanks, Ben Lisbakken -- Posted via http://www.ruby-forum.com/.
2006 Aug 15
5
Conditional extend of active record
Hi list, I''m trying to figure out the best way to add some functionality to active record. I have a table of files, and need to write a set of core functions that do different things depending on the type of file eg: class file < ActiveRecord::Base def resize ....does stuff end end the problem is the "....does stuff". For example, if the file is an image it
2006 Aug 08
7
Useful plugins for RadRails
Hi Friends, Could anybody suggest me some nice and useful plugins for RadRails! It would be very great if we make list of all such plugins! 1)________ 2)________ 3)________ 4)________ 5)________ 6)________ 7)..... Please fill above blanks and lets make a big list of it! -- Don''t live to geek; geek to live. http://anilw.info -------------- next part -------------- An HTML attachment
2009 Feb 12
3
Looping multiple output values to dataframe
Dear R users, I have various vector geometry operations to perform on 3-D coordinate data located on multiple (500+) csv files. The code I have written for the calculations works just fine. I have written a 'for' loop to automate the task of extracting the coordinates from the files and perform the analyses. The loop works reasonable well, but if the number of csv files is greater than
2005 Oct 03
1
chown on smbfs doesn't work ??
Hi, I have a Network Storage Device mounted as smbfs. When I transfer data using rsync, the permission of files transferred changes automatically to 502.501. I couldn't even issue a command chown. The error message said that "changing ownership of `thisfile': Operation not permitted Can someone please advise me to get around with this problem? -- Best Regards and Thanks, Ong,
2000 Jun 15
2
Checking the existence of a file
Is there a platform-independent way of checking in R whether a given file exists in the user's filespace? (so in a unix system, can you check within R whather, say, /homef/jonm/thisfile exists) Thanks Jonathan Myles -- Dr. Jonathan Myles e-mail:jonathan.myles at mrc-bsu.cam.ac.uk MRC Biostatistics Unit Tel. 01223 330372 Institute of Public Health FAX 01223 330388
2006 Aug 09
8
AJAX image manipulation
I have this code in a controller that returns images to my browser...with ROR. def index @products = Product.find_all_ pictures end ....this is the .rhtml.. <% for photo in @pic -%> <div class="entry"> <img src="<%= photo.image_url %>"/> <h3><%= h(photo.title) %></h3> <%= photo.description %>
2017 Feb 13
1
Automounting a USB drive
Hello, Been try to use autofs to mount and unmount a usb flashdrive. The mount point is /media When the drive is NOT inserted, /media is empty. When Iinsert the drive, I see directories in /media that are on the usb drive but nocontent. So, its kind working. /etc/auto,master: # # Sample auto.master file # This is a 'master' automounter map and it has thefollowing format: #
2006 Sep 06
6
validates_presence_of question
Can I use validates_presence_of somehow if I want to check that at least one of 2 fields is not empty? Thanks, Dmitry -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to