Displaying 20 results from an estimated 400 matches similar to: "Looking for RoR friends"
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 Sep 15
1
Why does Rails convert scopes to downcase
I found a strange behavior in Rails 4 with scopes when I use postgres.
I have a Object with saleStartDate and saleEndDate attributes.
scope :active, -> { where(isActivate: true) }
> scope :activeDate, -> { active.where("? BETWEEN saleStartDate AND
> saleEndDate", Date.today)}
When I use sqlite, all works when I want to get the object with the
activeDate scope.
When
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 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 07
3
Get current url
Hi friends,
i need current url in rails environment file.
i can get current url in conroller by the below command.
request.env[''HTTP_HOST'']
and now i want get current url in environment.rb file or intializer folder
files
Regards,
Daya.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from
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
2012 Oct 25
2
Egarch (1,1) with Student t distribution in RExcel
Hi
I want to implement Egarch (1,1) with t distribution model using RExcel and VBA.
May I know the syntax.
Following is the code that I 'm using.
rinterface.RRun "spec=ugarchspec(variance.model=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)"
2012 Oct 22
1
Egarch (1,1) with Student t distribution using rugarch
Hi
I was trying to implement Egarch (1,1) with Student t distribution using rugarch. But I was not getting any value.
Following were the commands that I was using:
library(rugarch)
spec=ugarchspec(variance.model=list(model="eGARCH", 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
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
Fetching gem metadata from http://rubygems.org/.Unfortunately, a fatal error has occurred. Please se
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
2010 Oct 13
3
using pg on snow leopard
I have a macbook running snow leopard. I recently installed postgresql
9.0 on it. I also installed pg with the following command:
sudo env ARCHFLAGS=''-arch x86_64'' gem install pg
The result was fine:
Building native extensions. This could take a while...
Successfully installed pg-0.9.0
1 gem installed
Installing ri documentation for pg-0.9.0...
Installing RDoc documentation
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
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