search for: dheeraj

Displaying 20 results from an estimated 37 matches for "dheeraj".

2013 Aug 29
10
Concatenate two arrays
Hello again ruby community! I just learned how to add two arrays(I know, i know). My program looked like this array1=[1,2,3] array2=[4,5,6] array_sum=array1+array2 I thought pretty simple stuff, they are combined. However, now i am looking to define that code as a method and I do not understand how to create the correct number of arguments, so when the method is called back it gives me my
2013 Jul 24
12
Want to send password via SMS
Hi I am saving password with hashed_password and salt in table. Now I need to send those passwords via SMS can it be possible.Kindly give me some suggestion plz . Thanks in advance Cheers -- 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
2013 Aug 27
11
Why NaN.class throws NameError ?
Here is my sample code: class Foo Bar = 10 end Foo::Bar # => 10 Foo::Bar.class # => Fixnum 10.class # => Fixnum Float::NAN # => NaN Float::NAN.class # => Float NaN.class # uninitialized constant NaN (NameError) -- 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
2013 Jun 07
4
how to add gdal with rails application , now working with gdal 1.8 in ubuntu 10.10
I need to downgrade the gdal version , i am working in remote system so have only command prompt so if anybudy know how to either downgrade gdal version from 1.8 to 1.7 or any other way to use gdal in rails app which have version 2.3.5 and ruby 1.8.7 and ubuntu 10.10 Thanks -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To
2013 Jan 15
7
javascript flash messages gem?
Does anybody knows a gem for managing flash messages? I would want to add messages to the flash div in the client. Bootstrap support is a plus. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group,
2013 Oct 20
3
Looking for RoR friends
This is quiet off topic but I am looking for friends from this group. Reply me :) -- 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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to
2012 Oct 22
1
Egarch (1,1) with Student t distribution using rugarch
...ot;, garchOrder=c(1,1)), mean.model=list(armaOrder=c(1,1), arfima=FALSE), distribution.model="std") fit=ugarchfit(data=b,spec=spec) sigma(fit) May I know the error that I'm making in implementing the model? Any help with the syntax/commands or any useful content will be appreciated? Dheeraj [[alternative HTML version deleted]]
2012 Oct 25
2
Egarch (1,1) with Student t distribution in RExcel
...odel=list(model=(eGARCH),garchOrder=c(1,1)), mean.model=list(armaOrder=c(1,1), arfima=FALSE), distribution.model=(std))" rinterface.RRun "fit = ugarchfit(Data = b, spec = spec)" rinterface.RRun "output=sigma(fit)" Please let me know the error and it's solution. Thanks Dheeraj [[alternative HTML version deleted]]
2012 Aug 25
11
Any meetup in india ?
Hi all specially indian rails developer & designer , Rails community is growing so fast in India , it is necessary to know what they are doing , how they are doing and what they like in it .So, I''m wondering we should arrange Meet-up in india , what you say ? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To
2012 Aug 07
9
How do I force link_to/form helpers to use the superclass name in the path instead subclass?
I want my helpers to generate paths using a superclass instead of the subclasses. Assuming I have Owner and Member that both inherit from User, rails will use the current objects class name when generating paths: Let''s say current_user is a mod: <%= link_to current_user.name, current_user %> will generate "/mod/:id". I want to force it to generate
2013 Feb 07
11
Rails change default time zone.
Hello everyone, I am using rails 3.2.8. I want to change time zone to New York time. I changed following, but didn''t work #config/application.rb config.time_zone = ''Eastern Time (US & Canada)'' config.active_record.default_timezone = ''Eastern Time (US & Canada)'' If am wrong please clarify. Thank You! -- You received this message
2013 Apr 21
5
Where to find info about seed.rb, db:seed functionality?
There is no any mention about it neither in API nor in Guide. How to use these features? The only gist with two sentences is in db/seed.rb file. That''s really not enough. -- 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 unsubscribe from this group and stop receiving emails
2013 Apr 23
3
Fetching gem metadata from http://rubygems.org/.Unfortunately, a fatal error has occurred. Please se
Hi guys when i''m doing bundle install i got this type of error whats this? please help me. rajesh@rajesh:~/workspace/Cybermedia_Test$ bundle install Fetching gem metadata from http://rubygems.org/.Unfortunately, a fatal error has occurred. Please see the Bundler troubleshooting documentation at http://bit.ly/bundler-issues. Thanks!
2012 Dec 24
4
Bad idea to add/remove associations in after_find
I have 2 distinct types of users (artists and curators) in my system and they currently share all associations (eg has_one :portfolio). However, a curator shouldn''t have a portfolio so I would like to only add that association when required. Obviously I could just return nil for that method, but it doesn''t feel right having that there in the first place. What''s the best
2013 Jan 07
4
JSON::ParserError in controller
Hi All I''m trying to build an application which requires to scrap information from a webpage. On trying to perform the action, I get an error while trying to convert the html data to JSON. Has anyone experienced this before and if so can you please tell me how to solve this problem ? Please see below for code snippet and error log. Thanks in advance Anush require
2012 Jul 20
8
sti_object.becomes(Parent) unexpectedly mutating the receiver
I ran into an interesting issue today with ActiveRecord''s becomes method and discovered that it is mutating the receiver without me knowing it. The API docs<http://api.rubyonrails.org/classes/ActiveRecord/Persistence.html#method-i-becomes>say "The new instance will share a link to the same attributes as the original > class. So any change to the attributes in either
2013 Aug 28
4
Deploying Rails 4 to VPS
Hello! I now have a VPS and I''ve been playing with it a bit. It is running Debian 7.0. I''m wondering how to set up my environment to deploy a Rails 4 app. I''d like to use Nginx with Passenger, Capistrano and RVM. Any good starting points? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To
2011 Jun 28
2
Issue with Gluster Quota
An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20110628/64de4f5c/attachment.html>
2006 Nov 21
2
para VM Guest list ?
Hi, I just installed SLES10 and started using xen. My platform does not support HVM, therefore I am using the paravirtualized technology in XEN. What I want is to have a guest RHEL4 machine on my current SLES10 host. Is it possible ? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
2005 Mar 29
1
[LLVMdev] Regarding PRE in LLVM
...rse version of E-path_PRE approach in file PRE.cpp but I could not get what actually code is doing and I could not find the name of the developer in the file. Just want to know to because I could not able to find any paper on sparse version of this algorithm. Thanks in Advance -- Dheeraj Kumar M. Tech. I yr (CSE) H.No. 7 Room No. 249 IITB Bombay Mumbai-400076 Mobile No. +91-9819939038