Displaying 5 results from an estimated 5 matches for "trung_tran".
2006 Apr 07
4
file_column and animated gifs
hi,
is it possible to resize animated gifs with file_column?
if i upload an animated gif file with file_column than the animation no
longer exists...
--
Posted via http://www.ruby-forum.com/.
2006 Jan 29
2
GetText and rjs templates?
hi,
is it possible that gettext don''t work with rjs templates?
i''ve just tried this simple example
blog_controller.rb :
class BlogController < ApplicationController
def index
end
def dosomething
end
end
index.rhtml :
<html>
<head>
<%= javascript_include_tag :defaults %>
</head>
<body>
<div id="test">Some text to change
2006 Jan 16
1
GetText (change default error messages)
Hi,
is it possible to change the default error messages?
for example from
... errors prohibited this ... from being saved
to something else?
thanks,
trung
--
Posted via http://www.ruby-forum.com/.
2006 Feb 04
0
form_tag_with_upload_progress
hi all!
i have a PictureController with an upload action:
class PictureController < ApplicationController
.
.
.
upload_status_for :upload
.
.
.
def upload
if params[:picture]
@message = "File uploaded: " + params[:picture][:file].size.to_s
picture = Picture.save(params[:picture])
session.update
finish_upload_status "''#{@message}''"
end
2006 Jan 29
1
RJS template problem!
hi all,
i have the following controller:
class UserController < ApplicationController
.
.
.
def login
@user = User.new(params[:user])
@logged_in_user = @user.try_to_login
if @logged_in_user
session[:user_id] = @logged_in_user.id
else
flash[:notice] = "ungültige Daten!"
end
end
.
.
.
end
with this rjs template:
login.rjs:
if @logged_in_user