Displaying 20 results from an estimated 7000 matches similar to: "Shift from mongrel to webrick"
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
2012 Feb 09
7
ruby script/server is not working
hi everyone i just typed ruby script/server -d and then after when i
type again it is not working. i got this error
[2012-02-09 16:19:54] WARN TCPServer Error: Address already in use -
bind(2)
Exiting
/usr/lib/ruby/1.8/webrick/utils.rb:73:in `initialize'': Address already
in use - bind(2) (Errno::EADDRINUSE)
from /usr/lib/ruby/1.8/webrick/utils.rb:73:in `new''
from
2010 Mar 24
10
Trouble starting WEBrick server
Hello every body, I just started working on Ruby on Rails and as i am
progressing I noticed that I can not start my WEBrick server on the
Command prompt. The following are the various error messages that I am
going.
Microsoft Windows [Version 6.0.6002]
C:\Users\imedia2\Desktop\test\helloworld>ruby script/server
=> Booting WEBrick
=> Rails 2.3.5 application starting on
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
2013 Oct 21
6
I think I've found a mistake in Rails tutorial
At the point of this section
*http://ruby.railstutorial.org/chapters/sign-up#sec-signup_failure*<http://ruby.railstutorial.org/chapters/sign-up#sec-signup_failure>
clicking the "Create my account" button on the signup form shows the
following image at
<http://ruby.railstutorial.org/images/figures/signup_failure_rails_4.png>
According to the tutorial, I must modify
2012 Aug 04
4
Rspec
Hi all i''m trying to learn Rspec testing can anyone suggest me the best
book to learn Rspec with good sample code.
Thanks in advance
--
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,
2012 Apr 10
2
how to use cronjob
hey everyone i want to send mails by scheduling the time
dynamically.lets say in a single table i have all the employee logs
who came at different timings.they are from different locations and
departments. i want to send mails to different mails ids according to
there location to there HR. can i do this with cron job.
thanks in advance
--
You received this message because you are subscribed to
2013 Jul 04
4
localhost:3000
My third post here. I''m learning Rails.
getting Oops! Google Chrome could not connect to localhost:3000
I reinstalled Ruby and Rails. I create the Rails new ???? then run Rails
S or Rails server. still cant get the localhost:3000 to start.
I''m running Windows 8.1
Ruby version 2.0.0p0
Rails 4.0.0
--
You received this message because you are subscribed to the Google
2013 Feb 11
5
split dates array with take_while does not work ?
I wonder why ruby core method ''take_while'' does not work as expected in the
below Rails console example:
irb(main):003:0> arr = []
=> []
irb(main):004:0> arr << Date.today - 15.days
=> [Sun, 27 Jan 2013]
irb(main):005:0> arr << Date.today - 25.days
=> [Sun, 27 Jan 2013, Thu, 17 Jan 2013]
irb(main):006:0> arr << Date.today
=> [Sun, 27
2012 Jun 12
2
how to connect rails app using monodb
hi all
i ve installed monodb this is the first time ive installed it and don''t
have any idea how to use it. previously ive used MYSQL for my apps. now i
want to use monodb . can any one help me out how to use monodb . does it
have any interface just as MYSQL. as there is no yml file needed how do i
connect my app
thanks in advance
--
You received this message because you
2013 Feb 03
4
Create a helper for models and views?
Hi!
If I have a method that is useful in both models and in views, where would
be the appropriate place to put it?
The method in question just takes two dates as strings, tries to parse them
and returns all dates in the range between them. It also takes care of the
issues when the dates are badly formatted etc etc..
This method is being used in several models (so a simple class method in
2013 Oct 02
2
When overriding the registration controller from devise, is it possible to access the newly created
I''m trying to create a folder right after a user registers, so I override
the create action on the registration controller (devise) but I don''t know
how to access the newly created user in order to create the folder with
it''s name to upload files later.
So far I''ve got this:
class RegistrationsController < Devise::RegistrationsController
def new
2013 Dec 10
6
Email out of Rescue
I''m trying to set up a means to automatically send an email from certain
parts of troubled code, that is, very often, code that might appear in the
Rescue predicate of a begin.....rescue, so as to track down issues remotely.
Surely there must be a gem for such? If not, how might one construct
something like this in code? TIA, RVic
--
You received this message because you are
2012 Jul 04
1
How to use wheneverize gem
Hi all i''m trying to use wheneverize gem to schedule my mails and to run a
specific file in controller.i tried but unable to send mails. i am using
rails 2.3.8 and ruby 1.8.7 . ive followed the
https://github.com/javan/whenever this link
Thanks in advance
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To view this
2013 Aug 29
4
Weird behaviour using ssl connection (OpenSSL::SSL::SSLError)
Hi guys
when I execute the piece of code bellow on RoR console it works fine:
url = URI.parse("https://us1.api.mailchimp.com/2.0/helper/ping")
request = Net::HTTP::Post.new(url.path)
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request.body = "{\"apikey\": \"myapikey\"}"
response = http.start
2012 Jul 20
2
scheduling mails in 2.3.8
Hi all,
How can i send mails in rails 2.3.8 and schedule them when i need it.
i''ve tried with whenever gem but it did not work properly . can any one
help me out .
thanks in advance
--
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
2012 Aug 31
5
Question1 Cucumber Rails
can we write multiple background in one feature file....?
can we write multiple feature in one feature file.....?
--
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, send email to
2013 Nov 22
4
Delayed JOB ISSUE
Hi all
I am using delayed jobs to send sms I am using
"http://github.com/tobi/delayed_job/tree/master". In my other website my
delayed job is working fine. Recently I have took one new domain in the
same server which I have my other app''s which are working fine. Now the
issue is after taking new domain and running the old app with new domain
delayed job is not working
2005 Dec 28
2
where is WEBrick (daemon mode) output? not in log/server.log
I am running WEBrick in daemon mode (with the -d option). Where is the
server output that would ordinarily be on my console if I ran without
the -d option?
APP_ROOT/log/server.log is empty and not being appended to, though it is
owned by the same user WEBrick is running as and has write permissions.
The only files in APP_ROOT/log are:
development.log
production.log
server.log
test.log
Where
2006 Mar 03
1
starting webrick from ruby (tar2rubyscript.rb)
I am using tar2rubyscript to package up a rails application and run it
as one file from the server.
If you run script/server and have lighttpd install it will start lighty
instead of webrick. So, thanks to Erik Veenstra''s suggestion, I add
ARGV.unshift("webrick") to the init.rb file to force webrick to start:
ARGV.unshift("webrick")
load "script/server"