Displaying 20 results from an estimated 59 matches for "lpo8gxj9n8azioh1ieqzka".
2006 Nov 04
6
image_tag keeping add ???? after the url it generates
hi, all,
I have a problem with image_tag, the url it generates keeps adding ???? at
the tail.
e.g.
src="/images/gicon.jpg?1153577588??????????"
src="/images/gicon.jpg?1153577588?????????????????"
I''ve checked the source code of image_tag, and couldn''t find any solution.
The ????
is appended to the "source" parameter before it goes to the real
2009 Aug 03
5
Decimal datatype and trailing zeros
Hello
I''ve encountered a little problem with zeros using the decimal data
type
Specifying a scale of 3 and inserting a number with 3 zeros after the
point (for example 12345.000) it gets correctly stored in the
database, but rails insists to show me the number only with the first
zero after the point (12345.0)
There is a way to tell rails to not truncate at the first zero?
2009 Aug 03
5
webcam image capturing
Hi
Could anybody please advice me to work with wecamera in Rails. What i
want to do is to capture webcam images from a machine and send that data
to a remote server there it needs to be processed. I have no idea of
where to start.Please help
Thanks in advance
Sijo
--
Posted via http://www.ruby-forum.com/.
2008 Feb 12
3
send_file - PDF
Hi-
I''d like to load a PDF file into a page, in my controller:
send_file "/path to/my.pdf", :disposition => "inline"
However, instead of rendering inline, it asks to download the file.
How can I display the contents without downloading?
Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
2006 Nov 04
4
live search
hi all,
i have implemented live search using scriptulous and i am getting the list
the problem is that when i select an item from the list white spaces gets
appended in front " item" of the selection in firefox and in opera
front and behind " item "
i printed the value in console and saw it gives "item" but in textbox after
selection whitespaces gets appended
2005 Dec 21
1
RE: Prototype: correct useage of onComplete withAjax.PeriodicalUpdater
...tions'', ''/ajax-url'',
{
insertion: function (element, request){fooBar()},
onLoading: function(request){ showProgress()},
parameters: params,
asynchronous:true,
decay:2,
frequency:20.0
});
-----Original Message-----
From: Nicky Peeters [mailto:nicky.peeters-LPO8gxj9N8aZIoH1IeqzKA@public.gmane.org]
Sent: Wednesday, December 21, 2005 7:13 AM
To: rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
Subject: [Rails-spinoffs] Prototype: correct useage of onComplete
withAjax.PeriodicalUpdater
Hello all,
I know it''s a Prototype question, but I hope someone...
2008 Feb 21
9
Difference between nginx and mongrel
Hi,
I could never find out what''s the difference between nginx and
mongrel. All my searches say "nginx is a HTTP server ..." and "Mongrel
is a fast HTTP library and server for Ruby....". For me they both mean
"...HTTP server...".
I kept up with this question for some time till I came across this
santence from the guys at Friend for Sale:
-----------------
2010 Sep 25
3
Factory_girl association with specific values
Hope this should be simple: I have a User model and a Role model. Factories
for each.
When I create a User using FG, I want to assign a specific role. Cant seem
to figure out how to do this, getting errors like: uninitialized constant
SysadminRole for doing things this way:
Factory.define :user do |u|
u.practice_id { |a| a.association(:practice).id }
u.password ''password1''
2007 Mar 14
9
file_field doesnt work inside form_remote_for
When I do file_field within a form_for things are fine... but within a
form_remote_for, with nothing else changed, I find that the params
does not even have the element document[uploaded_file] even though it
is definitely present in the HTML source in the form. Obviously the
file upload fails.
Am I missing something? Or has someone else faced this? Or is this a
known bug?
Rajesh
2009 Jan 14
6
How do I change MYSQL startup options on Mac??? (can't work it out)
Hi,
Can anyone help me out re how I change the startup options for mysql (v5.0)
running on my Mac? (I just want to add the "--log" option is about it). I
tried doing "sudo ./Library/StartupItems/MySQLCOM/MySQLCOM restart" however
this started a 2nd instances of mysql & mysqld.
Here is what I see start after Mac startup if this helps:
$ ps aux | grep mysql
_mysql 137 0.0
2009 Jul 24
7
number_to_currency not working since 2.1.1
Back in 2.1.1 everything was sweet:
Loading development environment (Rails 2.3.3)
>> include ActionView::Helpers::NumberHelper
=> Object
>> number_to_currency(12.3)
>> "$12.30"
Then I upgraded to 2.3.2 and:
Loading development environment (Rails 2.3.3)
>> include ActionView::Helpers::NumberHelper
=> Object
>> number_to_currency(12.3)
>> 12.3
2010 Feb 10
4
AJAX responses
Does anyone know if it''s possible to do multiple AJAX responses to a
single request in Rails? I did some googling but didn''t find anything
extremely helpful.
Thanks.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2009 Sep 03
12
paperclip is not saving the files
Hi all,
I''ve installed paperclips but
paperclip is not saving the files
my model has
has_attached_file :attachment,:styles => { :medium => "300x300>",
:thumb => "100x100>" }
and i have db migration as
class AddAttachmentToPolicies < ActiveRecord::Migration
def self.up
add_column :policies,
2010 Aug 30
10
Trouble with rvm (Ruby Version Manager)
Hi--
Am having trouble with rvm. Successfully installed it, but when I
tried to install Ruby 1.8.7, here is the error I got:
Paul-Denlingers-MacBook-Pro:~ pdenlinger$ rvm install 1.8.7
-bash: rvm: command not found
Tried closing terminal, quitting terminal, opening another tab, etc.
but continued to get same error.
What to do?
Thanks!
--
You received this message because you are subscribed
2010 Oct 31
4
Newbie - Rails 3 authentication question (Devise)
Hello!
I''m working on my first Rails app and I have a question regarding
authentication. I already have authentication for signing up, logging
in, logging out, etc. What I need is an account email activation
function and a reset password (forgot password) function. I have read
a little bit about Devise and watched the Railscast episodes on it, it
seems nice, but is it possible to add
2005 Dec 21
1
RE: Prototype: correct useage of onCompletewithAjax.PeriodicalUpdater
...{
> insertion: function (element, request){fooBar()},
> onLoading: function(request){ showProgress()},
> parameters: params,
> asynchronous:true,
> decay:2,
> frequency:20.0
> });
>
> -----Original Message-----
> From: Nicky Peeters [mailto:nicky.peeters-LPO8gxj9N8aZIoH1IeqzKA@public.gmane.org]
> Sent: Wednesday, December 21, 2005 7:13 AM
> To: rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> Subject: [Rails-spinoffs] Prototype: correct useage of onComplete
> withAjax.PeriodicalUpdater
>
> Hello all,
>
> I know it''s a Pr...
2008 Apr 04
8
Updatable "datagrid" with ajax support? Is there any code/approach I can leverage?
Hi,
I want to have a page in my Ruby on Rails application that is like a
dynamic / updateable data grid. Like a matrix or spreadsheet segment
(x rows, y columns) which one can click in any of the cells and make
an update, which triggers some AJAX code to fire off the update, and
then the responses come back and update whatever else needs updating
based on this change.
Is there a prototype
2007 Feb 06
1
Attachment_fu ImageScience FreeImage thumbnail quality
I''ve tried migrating acts_as_attachment to attachment_fu (just to see
if I could replace RMagick with ImageScience+FreeImage), but the
quality of the thumbnails is just horrendous, blurred beyond
recognition (downscaling a 1280x1024 to a few considerably smaller
thumbnails).
Changing attachment_fu to use RMagick again and the thumbnails were
crispy sharp again.
I was wondering
2008 Jan 29
8
Sending file from mobile phone to Rails app
Hi guys,
So I''m trying to add the ability to send files (pictures) from mobile
phones to my Rails app using an SMS number, NOT an email address.
Can anyone share how this is done?
Thanks,
Adeel
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2009 Jun 16
2
Documenting Models
All,
I''m trying to do some documentation on the models for our interfaces
team. I espcially need them to be able to see the relationships
belongs_to and validations. However, I must be stupid with rdoc
because I can''t seem to get those two things in the generated
documentation.
Ideas?