red.
Thank you in advance,
Nilesh
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this
$ identify
Version: ImageMagick 6.9.1-10 Q16 x86_64 2016-02-29
http://www.imagemagick.org
On Tuesday, March 15, 2016 at 3:22:40 PM UTC+5:30, Nilesh wrote:
>
> $ bundle exec rails -v
>
> Rails 3.1.3
>
>
> $ ruby -v
>
> ruby 1.9.3p448 (2013-06-27 revision 41675) [x86
at 09:22, Nilesh >
> wrote:
> > Hi Colin,
> >
> > Yes, there is still a problem with ruby gem versions I am using. Using
> above
> > resize :styles code, produced SVG images are invalid xml, and do not
> open in
> > browser. So I want to u
On 15 March 2016 at 08:28, Nilesh >
> wrote:
> > Currently I am working on a ROR code which uses rails paperclip gem.
> >
> >
> > My requirement is, to process images as per its file extension.
> >
> >
> > Case 1: If image type is “svg”, then do no
Currently I am working on a ROR code which uses rails paperclip gem.
My requirement is, to process images as per its file extension.
Case 1: If image type is “svg”, then do not process original image(as
ImageMagick breaks on resizing svg images). Upload original image, along
with large, med
on the web visit
> https://groups.google.com/d/msg/rubyonrails-talk/-/gIjlx6E8d3wJ.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
--
Thanks & Regards,
Nilesh B. Panchal
Mobile No. : +91-9664212069
E-mail : neil08.panc...@gmail.com
--
You received th
Hi,
I am using resque, resque-scheduler gems in my rails app. To monitor the
working of resque workers, I am using God tool. I want to add such a god
configuration, which will monitor the time of job running in the resque
worker. If process execution exceeds the time limit, then it should re
Can we set user read write access permissions while creating Logger object
in rails application? How?
--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe
What if I explicitly exit process(using Process.exit(0)) in FooJob#perform
after line Bar.add_jobs?
--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe f
I am facing problem in resque process. I have following implementation:
/config/resque_schedule.yml
add_jobs_to_queue:
cron: "15 * * * *"
class: FooJob
description: "Find results from class Bar and put on queue"
/app/jobs/foo_job.rb
class FooJob
@queue = :normal
def self.perform
Hi,
I am using resque, and resque-scheduler in my rails application. I am facing
strange problem in using resque-scheduler. One of my job is not getting
removed from queue, once it finishes with the 'perform' method. I need to
kill it explicitly to get out of the queue, then other jobs in the
On Jan 24, 5:01 pm, Nilesh wrote:
> Hi,
>
> I have implemented resque scheduler in my application by looking at
> example herehttps://github.com/bvandenbos/resque-scheduler. I have
> configured resque_schedule.yml file, and in that I can pass arguments
> to the resque job. M
Hi,
I have implemented resque scheduler in my application by looking at
example here https://github.com/bvandenbos/resque-scheduler. I have
configured resque_schedule.yml file, and in that I can pass arguments
to the resque job. My requirement is to pass more than one arguments
to the queueing res
Hi Everyone,
I want to display all the older tweets in my application. I am using jquery
plugin(jquery.tweet.js) for that.
I am getting only 9 days old tweets. Is it possible to get all the older
tweets. If yes, please help me out.
Thanks.
--~--~-~--~~~---~--~~
brianp wrote:
> Nilesh,
>
> using:
> assert_equal :published, words(:one).status
> delete :destroy, :id => words(:one).to_param
> word_status = Word.find(:id).status
> assert_equal :deleted, word_status
> still returns // ActiveRecord::RecordNotFou
> def test_should_delete_word
> assert_equal :published, words(:one).status
> delete :destroy, :id => words(:one).to_param
> reload!
> word_status = Word.find(:id).status
> assert_equal :deleted, word_status
> end
> Again returns: MethodError: undefined method `reload!' for
Hi,
I tried 'rake thinking_sphinx:index RAILS_ENV=test'
but it throws following error
F:\test_sarasaves\sarasaves>rake thinking_sphinx:index RAILS_ENV=test
(in F:/test_sarasaves/sarasaves)
Generating Configuration to F:/test_sarasaves/sarasaves/config/
test.sphinx.conf
Sphinx 0.9.8-release (r15
Tom Dunn wrote:
> I'm creating a site that allows users to upload a picture. The picture
> they uploaded will be shown randomly for a period of time then another
> one will come on. When they upload it, they pay a certain price,
> depending on how many times they want it to be viewed. I want it t
hello All,
I am using thinking_sphinx for search method , i am writing testing
for it,
but when i try to run it in test environment it gives me following error
D:\sarasaves>rake thinking_sphinx:index RAILS_ENV=test
(in D:/sarasaves)
Generating Configuration to D:/sarasaves/config/test.sphin
hi all
I am using google map in my application, I am adding "labeled
Markers" i.e A,B,CZ, in my map, it is working but I want to display
marker and it's information on page same as Google map i.e if we search
"coffee shop austin". map displays list of coffee shop on left and
correspondin
Nilesh Kulkarni wrote:
> thanks for reply
> function google_map(){
> for(var j=0; j < locs.length; j++)
> {
> marker=addMarker(locs[i]['lat'], locs[i]['lng'])
> }}
ooo not
var locs = (#...@locations.to_json});
but
locs = (#{locations.to_j
Wayne Simacek wrote:
> Are you using the GeoKit Rails plugin?
>
> On Jul 23, 3:52�am, Max Williams
no...
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails:
thanks for reply
I have done it something like
= render :partial => 'coupons/search', :locals => {:locations =>
business_locations.}
in "_search.html.haml"
:javascript
var locs = (#...@locations.to_json});
function google_map(){
for(var j=0; j < locs.length; j++)
{
marker=addMarker(locs
hi all,
I have following problem,
I am using google map api , I have "business_locations" array
defined in view it contains latitude and longitude in following format
lng-142.122745lat42.674224
lng-112.122745lat46.674224
lng-122.122745lat40.674224
I am sending locations array to partia
hi all
what ia used for?
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
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 rubyonrails-talk@googlegroups.
hi all
any one know what is
and when it is used?
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
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 rubyon
Marnen Laibow-Koser wrote:
> On Apr 14, 7:55�am, Nilesh Kulkarni
> wrote:
>
> You have an elsif without a condition. Did you mean else? And why an
> h4 when there's no h3 to nest it in?
>
> Let me know if you have any further questions. But if you're goin
Marnen Laibow-Koser wrote:
> Nilesh Kulkarni wrote:
>
> So you probably have a missing parenthesis or something like that. But
> we can't tell for sure without seeing the Haml file.
>
> Best,
> --
> Marnen Laibow-Koser
> http://www.marnen.org
> mar...@ma
hi all,
I am converting my view into HAML format i have done it with
"Html2Haml" command, then I removed all the "- end" from haml code and
my indentation is also correct,but now it shows following errors
I have kept code of show.html.erb and show.html.haml in attachment.
please help me I
senthil raja wrote:
> HI Nilesh
>
> Your Question is not clear,
>
> Can you explain with some example
>
> On Sat, Mar 14, 2009 at 6:13 PM, Nilesh Kulkarni <
ok
I am fetching value from database and displaying it in text_area
,consider book table.I have three fields
HI ALL,
I want to add values present in hash text_fields on form after form is
displayed. is it possible, how can i do it.
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "
Sumanth Krishna wrote:
> try with update_attributes! (which internally uses 'save!')
>
> On Fri, Mar 13, 2009 at 2:00 PM, Nilesh Kulkarni <
> rails-mailing-l...@andreas-s.net> wrote:
>
>> and 2028"
>> 50 don2000 $400
>&
hi all,
I am updating 50 records on one page with update_attributes method
,my validations are
validates_numericality_of :year, :greater_than_or_equal_to => 1900,
:less_than_or_equal_to => 2028, :message => "Year must be between 1900
and 2028"
valdate_presence_of:title
valdate_presence_of
hi all,
I am using will_paginate plug_in i am getting URL as
http://localhost:3000/admin/edit#/admin/edit?page=3
but i want it should be
http://localhost:3000/admin/edit?page=3
how can I do it.
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
Hi Mike. Can you share the code snippet for the getter and setter methods
you used, thanks.
On Fri, Feb 27, 2009 at 1:48 PM, Mike C wrote:
>
> Nevermind, getter was returning a user object instead of a string.
> fixed. :)
>
> On Feb 26, 10:10 pm, Mike C wrote:
> > Ok, I did it. But in the
hi,
I am writing an application in which i have list of books fetching from
data base,i am using textbox to display that data from database .ie
"xyz" hindi, are in textbox.
i am displaying 100 record per page ,i want to use single save button
that will save changes in all page instead of for eac
hi
I have a patch and i want to apply it to image_science.rb, how can i
apply please inform me
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby
on Ra
hi
i am using attachment_fu with
Rmagic(RMagick-2.7.1-ImageMagick-6.4.5-3-Q8)
i am thumbnailing image.code is as follows it is thumbniling onlt .gif
image not other .Is there any problem with RMagic version.
what else i can do code is as bellow
1>code of model(asset)
class Asset < ActiveRec
I am using attachment_fu but in database it is nit storing it's hight
and width what should i do.
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group
hi.
I am using attachment_fu
Can anyone tell me how to get image_science image library and how to use
it.
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby
on
hi
i have one bookshop project.whose database table is as follows
create_table :books do |t|
t.string :title
t.text :description
t.string :image_url
t.decimal :price
t.datetime :date_available
end
I want to use attachment_fu with this project how can i use it
--
Vishwanath Nayak wrote:
> Hi,
>
> you need both of those, image magick to do the image modifications
> rmagick is written to integrate image magick with ruby
>
> NAYAK
>
> On Mon, Jan 12, 2009 at 3:08 PM, Nilesh Kulkarni <
> rails-mailing-l...@andrea
hi..
I am using attachment_fu in my project
i want to know that which of following library is good
please help me
1>imagemagick
2>RMagic
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to t
what is the version of Rails you are using?
On Sun, Jan 4, 2009 at 10:26 PM, cutegirl wrote:
>
> I tried to generate a form using the Rails "start_form_tag", but got
> the error message "undefined method `start_form_tag' for
> #". What could be missing here. Thanks for
> help.
> >
>
--~--~--
m install not specifically
> > the Twitter4R gem install. A workaround might be to install the JSON
> > 1.1.1 version on Windows (which I believe works) or put cl.exe's
> > directory in your PATH environment variable.
> >
> > HTH,
> > Susan
> >
> >
Hi guys,
I have to update a Twiter account from my Rails application. So I am
trying to install Twitter4R api.
But I am getting error when i give following command:
C:\>gem install twitter4r
Building native extensions. This could take a while...
ERROR: Erro
Hi Peter. I am using XP OS and MySql server version is 5.0.41. Ruby's
version: 1.8.6 and Rails version: 2.2.2
On Wed, Dec 3, 2008 at 4:31 PM, Peter De Berdt <[EMAIL PROTECTED]>wrote:
>
> On 03 Dec 2008, at 06:19, Nilesh Kumar wrote:
>
> In development.log one me
g the command(gem install mysql). Can
anyone tell me why it is coming as warning?
Thanks,
Nilesh.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email
Hi rubyonrails-talk!
Your friend nilesh from , just invited you to his online photo albums and
journals at Zorpia.com.
So what is Zorpia?
It is an online community that allows you to upload unlimited amount of photos,
write journals and make friends. We also have a variety of skins in
Thanks Pratik for ur reply!
On Wed, Oct 1, 2008 at 6:07 PM, Pratik <[EMAIL PROTECTED]> wrote:
>
> http://guides.rails.info/routing/routing_outside_in.html
>
> On Wed, Oct 1, 2008 at 12:00 PM, Nilesh Kumar <[EMAIL PROTECTED]>
> wrote:
> > Hi Rails experts
Thanks Chron for ur reply!
On Wed, Oct 1, 2008 at 6:16 PM, Ar Chron
<[EMAIL PROTECTED]>wrote:
>
> Nilesh Kumar wrote:
> > Hi Rails experts,
> >
> >I have one doubt regarding map.resources.
> >I am not clear with when to use :method and :col
Hi Rails experts,
I have one doubt regarding map.resources.
I am not clear with when to use :method and :collection in
map.resources. Please help me out.
Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Googl
what error u r getting?
On Mon, Sep 29, 2008 at 11:32 AM, Indu Rs
<[EMAIL PROTECTED]>wrote:
>
> Hello everyone
> Just started to learn ROR.Does anyone have an idea on how to store
> fields in two tables using a single form?
> I wish to store the registration details in 'users' table and the
> la
53 matches
Mail list logo