Displaying 20 results from an estimated 79 matches for "evilgeenius".
Did you mean:
evilgenius
2006 Apr 28
9
Global find and replace in RADRAILS. Can you do it?
It seems as though it cannot be done. Does anyone know how to do it?
Thanks
Chris
--
Posted via http://www.ruby-forum.com/.
2006 Jan 09
11
Scaleability and Sharing of code between apps
Application 1 is an auditing application called AuditSystem.
Application 2 is a quality control appllication called QC.
App1 has a couple of classes, including models, that i would like to use
with App2. I would like a change in a class to be felt in both
applications. How do i acheive this without copying and pasting code??
At the moment im feeling i should have made the whole thing one
2006 May 08
5
Files in LIB folder do not seem to update even in DEV mode!!
Hi
When i change my classes in the LIB folder they are not updating on the
server. My server is in development mode. Any ideas why?
Any help is appreciated
Thanks,
Chris
--
Posted via http://www.ruby-forum.com/.
2006 May 14
2
Timeout in production mode after 2 min, but not in dev mode?!
One of my actions runs for more than 2 minutes. In development mode it
runs and
completes successfully, but in production mode it quits out with a
timeout error:
"Timeout::Error (execution expired):"
Any ideas how i can stop this? I''m desperate to find a solution.
Is there a setting i can change somewhere?
Any help would be greately appreciated,
Thanks
Chris
--
Posted
2006 Mar 14
3
cascading eager loading patch not working in oracle
Notice the "AS" keyword appears many times. Oracle does not support this
keyword:
ActiveRecord::StatementInvalid: OCIError: ORA-00905: missing keyword:
SELECT tim
esheets.id AS t0_r0, timesheets.start_date AS t0_r1, timesheets.status
AS t0_r2,
timesheets.cost AS t0_r3, timesheets.charge AS t0_r4,
timesheets.employee AS t0
_r5, employees.id AS t1_r0, employees.name AS t1_r1,
2006 Mar 10
6
How do i apply a patch?
Hi,
i have a patch to make instiki work with the latest version of ruby :
as_clean_logger_rb-fixed.patch
But i dont know how to apply it. Any ideas??
Thanks,
Chris
--
Posted via http://www.ruby-forum.com/.
2006 May 04
3
@products["car"] is not being recognized in my tests!! help
@products["car"] is not being recognized in my tests:
class ProductsControllerTest < Test::Unit::TestCase
fixtures :products
def test_view_product
post :view_product, :id=>@products["car"].id
assert_template "view_product"
...
end
end
products.yml :
car:
id:1
name:test
Does anyone have any idea why its not working?
Im having to do
2006 Jun 05
4
Using grep with tail. Unix challenge!
I want to tail my development.log file, but i only want to show the
lines that have the word "ERROR" in. How can i do this??
Doing this :
tail -f development.log | grep "ERROR"
will filter the log file, but it will not constantly update itself. i.e.
newly added lines to the log file that contain "ERROR" are not
displayed.
Does anyone know how to do this?
Thanks
2006 Mar 21
7
Nuube Sequence problem
In my database the id for a field is 810. RoR thinks that it is 809.
My log file (below) shows that just before the insert it grabs the next
sequence value. I dont think it should do that. This causes problems
further down the line when trying to access the Person object.
Development Log file :
"SQL (0.016000) select people_seq.nextval id from dual
Person Create (0.015000) INSERT
2006 Mar 16
10
Nubee Callbacks problem
I never want to alter a model(row). When a model has been changed i
want a new copy to be created.
What is the best way to implement this?
I think using callbacks might be the answer.
So model.save will create a new row, and leave the old one unchanged.
Any ideas? I can easily implement this in the controller but i''d rather
it be done transparently. Also errors should be passed back
2006 Apr 07
5
Is mongrel stable enough to be used in a production environment?
Is mongrel stable enough to be used in a production environment? Is it
stable?
If so, which version is recommended?
Thanks,
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20060407/8d3ad7b4/attachment.htm
2006 Mar 30
7
Enterprise rails app with - about 100 tables
I''ve just started creating a web application with approx. 100 tables.
Possibly more. Oracle is the DB. There exists a legacy schema I that i
will use some of.
So far i have created a small bit of the app, approx 10 tables.
Im using webrick on my local machine. The Oracle DB is on its own
server.
My boss has noticed that its not really that zippy, there is a small
delay between
2006 Aug 17
3
How to save output "render :action=>:any_action" to a file?
I need to save the output of my rails app to a file. i.e. instead of
rendering a page when using "render :action=>:any_action" i want the
output to be saved to a file.
Anyone got any ideas?
Thanks
Chris
--
Posted via http://www.ruby-forum.com/.
2006 Jun 01
1
Anyone else think Eclipse (radrails) is slow in SUSE Linux?
Ive just changed from windows to suse linux today and the performance is
pretty crappy. Anyone else had this problem?
Thanks
Chris
--
Posted via http://www.ruby-forum.com/.
2006 May 03
3
create test methods from Controller methods?
Can you somehow create a test that contains methods that relate to the
methods in the controller that is being tested?
Thanks
Chris
--
Posted via http://www.ruby-forum.com/.
2006 May 05
2
can you do global match regular expressions?
I cant figure out how to do global regular expressions in ruby. Im not
even sure if its possible. In the "Programming Ruby" book there is no
mention of it.
Can you do this?
text = "aaa1 bbb2 ccccc3 dddddd4 eee5"
re = /\w+\d{1}/
matches = re.match text
m[0] = "aaa1"
m[1] = nil
m[2] = nil
and so on....
Is there any way to get an array of all the matches??
2006 May 11
1
How do you log from within your custom class?
Hi
I know i can use loggger.info("info") to output a message to the log
file from within ActionController classes. HOw do I do it from my own
custom class?
Thanks
Chris
--
Posted via http://www.ruby-forum.com/.
2006 May 12
1
each_with_index. Can you start at a desired index position?
When using array.each_with_index how do you start at a desired index
position?
I can do it like this, but its not very clean and doesnt seem efficient
:
desired_index_start = 20
array.each_with_index do |value,index|
next if index<desired_index_start
end
Thanks
Chris
--
Posted via http://www.ruby-forum.com/.
2006 May 14
1
Does anyone know how to change timeout for production env?
Does anyone know how to change timeout for the production environment?
My action runs for ~2 minutes then timesout in production mode. In
development mode it is ok.
Thanks
Chris
--
Posted via http://www.ruby-forum.com/.
2006 Apr 07
1
How do i manually abort a transaction?
How do i manually abort a transaction?
Thanks,
Chris
--
Posted via http://www.ruby-forum.com/.