Displaying 20 results from an estimated 5000 matches similar to: "Can i cache models?"
2006 Feb 24
6
when i save, rails doesnt update the model instance with the id of the new record
Hi everybody,
Im using sqlserver (sqlserver adapter).
I think that is some bug.
any idea?
--
_________
Noel R. Morais
2006 Mar 30
2
Rails lost connection to MySQL server!
I getting this error on my project
Mysql::Error: Lost connection to MySQL server
during query: SHOW FIELDS FROM ...
i think that it''s because the mysql database don''t allow persistent
connections .....
any idea?
thanks
--
_________
Noel R. Morais
2006 Jun 01
4
What i do if i have a table with a column named "type"?
Hi everybody!
The class ActiveRecord::Base have a atribute named type and if my
table have a column with the same name i get an error if i use
model.finde, model.save and more...
I dont know what i can do to solve this problem!
Someone know?
Thanks
--
_________
Noel R. Morais
2006 Mar 26
10
How to delete a uploaded file with file_column plugin?
Hi,
sounds somehow stupid, but I can''t get rid of my files that I uploaded
into my application via the file_column plugin. Any suggestions?
Cheers
Thomas
--
Posted via http://www.ruby-forum.com/.
2007 Nov 20
1
How to receive manager events from commands made by an AGI script?
Hi all,
I'm new on this list, my name is Noel. :D
I developed a system using AGI and now I'm trying to develop a system
that listen events fired by Manager API. I have realized that I don't
receive events from commands made by an AGI script like "play a file"
or "record a file".
Is there a way to receive such events?
Sorry about the poor English.
Thanks in
2006 Mar 21
8
Redirect without port number?
On my host I run my lighttpd instance bound to a specific port and my
hostname is mapped to this port (I''m not exactly sure how this is
accomplished, but it is lighttpd also listening on port 80 which handles
this for me I believe).
A redirect from rails includes my local port number in the request, so that
it shows up in the address bar. I prefer people not to see this - I
2006 Apr 01
3
Syncpeople Plugin Scope Never Active
I installed the Syncpeople textmate bundle (
http://syncpeople.com/downloads/syncpeople_on_rails_features ) and the
commands all work from the menu, but the short-cuts never work for any
of the snippets or commands ever work, because the scopes are not
being selected properly. If I change the scope to just "source.ruby"
it will work fine. But I cannot see why their scope selectors do not
2006 Mar 20
8
Best way to organize non-controller logic???
I don''t want to put certain code in my controller because I think it
makes things more confusing.
What is the best way to manage business logic such that it doesn''t end
up in the controller?
Basically, where should I put my regular utility classes and backing
objects that may not be models?
Thanks,
Wes
--
Posted via http://www.ruby-forum.com/.
2006 Feb 20
2
How can i render an external url?
Hi everybody,
Well, how can I render an external url? In java, I do something like this:
<html>
<head>
<title>External URL</title>
</head>
<body>
<jsp:include page="www.rubyonrails.org" />
</body>
</html>
Noel R. Morais
RFC - Ready for Calls
+55 (11) 3471-4005
www.rfcnet.com.br
-------------- next part
2006 Feb 20
1
I can''t insert records using sql server database!
Hi everybody,
When I code something like this:
user = User.new(:user => "test", :password => "test")
user.save
user.nil? # its return true
its only happen when I use sql server database, in mysql or postgres its
work fine!
Noel R. Morais
RFC - Ready for Calls
+55 (11) 3471-4005
www.rfcnet.com.br
-------------- next part --------------
An
2006 Mar 27
5
Fixtures, Postgres & Constraints
Anyone have any tips for handling postgres constraints when using
fixtures to load the database, other than to sort out the proper
insertion orders or leaving the constraints out? I''d prefer not to do
the former since I''d rather use my app to generate my fixture data
(using a dump_fixtures task) and I''d prefer not to do the latter
because leaving out constraints till the
2009 May 22
4
How to stop a background music
Hi Guys,
I would like to know if is there a way to actively stop a Background()
music?
Thanks,
Noel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090522/1e317b99/attachment.htm
2006 Mar 21
8
AS/400?
Any success stories using rails against a DB2 database on an as400?
If so, how?
Thanks
Ed Schechter
--
Posted via http://www.ruby-forum.com/.
2006 Mar 25
12
Newbie question about database consistency
I''m a newbie for RoR, and also web dev and database design (but been
doing C++ apps for years). I''m trying to learn to use RoR and mySQL by
doing a toy project. What I''m trying to do is a web base reservation app
for lab machines. I have a number of machines, each can be reserved on
hourly basis. So I set up a the following tables: users, machine,
reservations. The
2006 Mar 22
4
How do I substitute variables into class names?
In a partial that renders another partial, I would like to change the
items I am rendering based on the content of a variable. So instead of
having 5 partials which all have variations on this;
<% for @skill in @cv.skills %>
<%= render :partial => "skills" %>
<% end %>
If item = "skill" would like to do something to this effect;
<% eval("for
2006 Mar 23
14
Distribute Rails app. without source code
I have a commercial software that I?d like to completely re-do in Ruby
on Rails, as a web application on Apache. But I don?t want to distribute
it with the source code. Is there any way to install/deploy and Ruby on
Rails application without the source code?
Thanks in advance,
Jes?s Dugarte.-
--
Posted via http://www.ruby-forum.com/.
2013 Jan 26
2
different legends in lattice panels
Hi listers,
I want to make lattice plots xyplots with the indication of legends
inside each panel with only the points and the lines actually ploted
inside each given panel according to the group(ing) factor.
The code below shows what I have achieved so far and I hope will make
clear what I want to have.
It seems to me that my solution is a very "dirty hack" and there
certainly is
2006 Mar 17
2
Temporary Model Data
I am trying to optimize some methods in my model so they don''t repeat
CPU intensive algorithms every time I call the method in the same
request/response cycle.
Eg.
================
def invitations
all_pgm_updates.find_all do |update|
update.invited?
end
end
================
I want to do something like:
================
def invitations
if @invitations.nil?
2007 Apr 18
1
Windows don't show domain groups
I recently updated the samba to latest Debian stable version (3.0.24-2),
after that I couldn't see groups on Windows stations anymore, only domain
users, and any changes on smb.conf has been made. Currently I'm using Samba
along with LDAP in my servers to authenticate users from Windows 9X/2000/XP
workstations.
I'm a bit clue less about how solve that problem, since with oldest
2019 Feb 07
2
Cri-o 1.13 package
Hi there,
I was looking for cri-o 1.13 package to install on CentOS 7.6 but it
seems that we only have 1.11 packaged.
There is any alternative to 1.13 package to CenOS 7.6 or if I want to
use it I should build from source?
Thanks.
--
Matheus Eduardo Bonif?cio Morais
Analista de Infraestrutura de TI,
Plataforma e Aplica??es
Confedera??o Sicredi
Centro Administrativo Sicredi ? Porto Alegre
+55