search for: apelt

Displaying 20 results from an estimated 26 matches for "apelt".

Did you mean: apel
2005 Nov 18
10
[Request] file_column configurability
I wasn''t sure where to email this request, so I am hoping the author of file_column actually sees this. I was wondering if there were any plans to allow some configurability in the file_column plugin. By configurability I mean allowing the developer to define which table column is used as the unique identifier when creating image folders. Right now it seems like it uses the ID of the
2006 Feb 03
6
Rails from the command line
I have controller that processes data in one table and puts results in another. Now that its'' working, I would like to be able to run it from the command line ( read: windows batch file). How can this be done? It will be installed on a Windows box with InstantRails1.0, (if that matters). I will be doing more processes like this, so this is a good opportunity to get it right. -- Best
2006 Jan 31
6
How to Affect Plugin Load Order
I''m using bundled_resource, login_engine, and a few other plugins. It appears Rails considers plugins in alphabetic order. Turns out that there is a particular order that will work and alphabetic ain''t it. The login engine must be loaded first. Bundled resource then includes ''application_helper'' and the application helper includes LoginEngine. If
2006 Feb 04
3
I just can''t figure it out !
Howdy RailsWarriors, Its probably dead easy but I don''t see it. Got this in my controller. def new_computer User.find(params[:id]).computers.create(:comp => ''New Comp:'') end Which with an .rjs template creates a div at the bottom of my list. This all works like a charm. But in the partial I load in my rjs I also have a button for ''delete'' in the
2005 Dec 15
6
passing parameters to link_to OR better way to do this?
Hi All: I''m writing my 1st Rails app and I can''t seem to find the answer on the web or in the book. I''m making a table, and I want to be able to expand a filename. The code is basically as as follows below. In the last <td> entry, I want to call an action and pass in the test_results_path, which I will go and read a file and munge the data for a separate
2006 Feb 05
30
Emacs rails.el
Features: * Management WEBrick - start, stop * Viewing log files * Abbrev from TextMate * Switching between View/Action http://www.emacswiki.org/cgi-bin/emacs/rails.el
2006 Feb 02
4
ajax insertion into a form
After an ajax insertion in the dom, it seems the browser don''t refresh its knowledge of the page. The source of the page is identical after the insertion, whereas the display is correct. The ajax insertion is used to add an input field. The added fields are ignored by the submission of the form. Isn''t it possible to do that, or maybe there''s a problem in my code
2005 Dec 23
10
Extending model
Hi, I''m looking for a way to extend one of my models to allow some level of abstraction between what goes into it and how it is stored. For example, say I have a Product and I want to set it''s price. A person using the website will type the price in euros. Internally, I''d like to store the price as an integer value of cents. I can currently do this with some ugly code
2005 Apr 20
4
acts_as_list and single table inheritance
in a single table inheritance model, rails will automatically set the scope for acts_as_list to the ''type'' field as well as any other scope conditions we provide. Is there a way to disable this? i want to use STI but I want acts_as_list to disregard the class type when getting/setting positions. thanks alan
2006 Jan 28
1
RailsCron 0.2 questions
Hi all, I''ve set up RailsCron to send email reminders on a daily basis. My dev environment is Rails trunk on Debian Sarge, lighttpd running as a regular user. I''m having two issues: 1) When I run "rake cron_start", I get rake aborted! undefined method `blank?'' for "":String The "blank?" method is provided by Rails, so I''m
2018 Nov 29
0
Problem to connect to APC SC1500
...us=1) ---------------------------------------------------------------------------------------------------------------- I thought about using apcupsd-ups driver, but that one is not included in the Windows installation of NUT. What am I missing here? Freundliche Gr??e / Kind regards Michael Apelt, IT-Manager, Berky GmbH Tel.: +49 5932 7254 10 E-Mail: Apelt at berky.de | Website: www.berky.de Wacholderweg 27 | 49733 Haren (Ems) | Germany Ust.-IdNr.: DE 117327794 | Steuernummer: 61/200/20636 Osnabr?ck HRB 212862 | Gesch?ftsf?hrer: Frank Suelmann, Felix Knoll
2006 Jan 30
2
:condition not being applied
I am using acts_as_taggable and everything seems to be working except that :condition => "tags_resources.portal_id=#{portal_id}" is not being applied. @resource_pages = Paginator.new self, Resource.find_tagged_with(:any => tag, :condition => "tags_resources.portal_id=#{portal_id}").length, 25, @params[''page'']; @resources
2006 Jan 29
15
Reload the lib directory
Im writing a module in the lib directory. If I change the module, the changes are not visible to the application when i releod the web page (i am in the development evironment). I must restart the web server (WEBrick) and so i see the changes... but I lost more time. How can I reload the module in the dirictory lib, without reload WEBrick? Thanks so much --Reis -- Posted via
2005 Dec 15
4
Order of tests matters???
I have a problem with tests. I always thought that the order of tests doesn''t matter because the fixtures are reloaded before every test method. However, I''ve just discovered that this isn''t true. This is a quote from the "Guide to testing the rails" howto: "... if we had another test method, we wouldn’t have 10 users on the 2nd test because they would
2005 Dec 22
11
rforum engine
Here''s a question for those well-versed in rforum or engines -- or both, ideally :) I''ve spent some time today turning RForum into an engine, using rails 1.0, engines trunk, and rforum 0.1 (as rforum trunk didn''t appear to work out of the box). My rforum engine works, but only when I do two things that I found by trial and error: 1) All rforum controllers subclass
2005 Dec 02
8
UserEngine: stack level too deep
Hi, I''m trying to get the UserEngine running. I have installed the LoginEngine, added the essential lines to environment.rb / application.rb and application_helper.rb. Worked fine. Then I did the same with the UserEngine and when trying to set up the db: rake engine_migrate ENGINE=user I get: Migrating engine ''user_engine'' rake aborted! stack level too deep But...
2005 Dec 15
2
Passing parameters to before_filter methods
I have a method that checks for a given role. I want to write something in my controllers like before_filter :check_roles(''admin'') Which will ensure the current user has the admin role. Is it possible to pass parameters in this way? Ian
2006 Feb 12
0
Re: sending personalized emails efficiently
...it''s API is so limited. Specifically I don''t see how to NOT connect/disconnect from the SMTP server for each message, parallel delivery scheme, etc. Your help would be appreciated. Thanks, Frank Original Message ====================== > On Oct 20, 2005, at 1:46 AM, Gerret Apelt wrote: > >> I''m working on a project where the non-techy site administrator wants >> the ability to send template-based emails to all his registered users >> (on the order of thousands), meaning that each of the emails generated >> is unique and needs its own SMT...
2005 Dec 27
3
What is the best way of setting up the following model:
Hi, I am new to Rails (and Ruby) and for what i have seen sofar i like it a lot! But i can''t figure out what the best sollution would be for the following: Lets say i want to setup a CRM system and i have to sorts of contacts: Customers and Prospects. A part of the info is the same (addresses, company info etc) for both customers an prospects and a part is different. What i would
2006 Jan 04
5
check if a file exists?
Hello all! I have a list of people on a page, and some of this people have pictures of them stored on the web server. So I have an image tag like this on my page: <%= image_tag "/images/people/" + person.pers_id.to_s + ".jpg" %> But not all have a picture, so if the file for pers_id=1899 does not exist, i would like to display a custom image for that guy. How can I do