Displaying 7 results from an estimated 7 matches for "barinek".
Did you mean:
arinet
2006 Mar 21
4
activerecord - mysql blobs...
I''m struggling with activerecord and mysql blobs (uploading files)...
blobs over 400K-ish cause the below exception...
ActiveRecord::StatementInvalid in File#upload
Mysql::Error: Lost connection to MySQL server during query:
I''ve tried blob, mediumblob, and longblob...
I''m using windows xp for development - and have not installed the mysql
gem...
simlar google
2006 Jul 28
7
Uploading 2+ files simultaneously
I''m having trouble uploading 2+ files simultaneously (from different
client machines)...
the upload page just hangs...
I''m running...
- ruby 1.8.4 (2005-12-24) [i686-linux]
- rails 1.1.4
- red hat el 4
- apache
- fcgi (0.8.7, 0.8.6.1)
- firefox 1.5.0.5
- httpd.conf
<IfModule mod_fastcgi.c>
FastCgiIpcDir /tmp/fcgi_ipc/
AddHandler fastcgi-script .fcgi
FastCGIConfig
2006 May 25
2
basecamp prefixes
basecamp prefixes each url with a client name...
client1.updatelog.com/todos
client2.updatelog.com/milestones
any ideas on how this is done?
- one app?
- one app per client?
- one app per domain?
--
Posted via http://www.ruby-forum.com/.
2006 Jul 18
2
FLV Player
I need a flv player - any recommendations?
--
Posted via http://www.ruby-forum.com/.
2006 Jul 26
8
team captain - habtm w/has_one...
the below...
class User < ActiveRecord::Base
has_and_belongs_to_many :teams
class Team < ActiveRecord::Base
has_and_belongs_to_many :users
has_one :captain, :class_name => ''User''
produces the error...
Mysql::Error: Unknown column ''users.team_id'' in ''where clause'': SELECT *
FROM users WHERE (users.team_id = 1) LIMIT 1
i
2006 Jul 18
0
ffmpeg and IO.popen
i?m fairly new to ruby...
any suggestions getting the below to work...
i?d like to use myfile_field.read within encodeVideo
and then self.data = Student_Interviews.flv
class Myfile < ActiveRecord::Base
.
.
.
def encodeVideo opts #, stream
IO.popen(?ffmpeg #{opts}?, ?w?)#{ |io| io.puts stream}
end
def myfile=(myfile_field)
if myfile_field and myfile_field.length > 0
encodeVideo ?-i
2006 Apr 19
0
ResultSetMetaData
dose Ruby or ActiveRecord have the Java/JDBC equivalent for retrieving
ResultSet meta data...
PreparedStatement statement = null;
try
{
statement = connection.prepareStatement("select * from some_table");
ResultSet rs = null;
try
{
rs = statement.executeQuery();
ResultSetMetaData rsMetaData = rs.getMetaData();
int columnCount = rsMetaData.getColumnCount();
more