Displaying 20 results from an estimated 400 matches similar to: "tutorial: gravatar_image_tag problem"
2011 Nov 27
2
problem scraping using nokogiri - getting wrong characters
Hi all,
I am scraping a table off of another site and inserting it onto my
site. you can see an example on the initial page at: http://mthosts.heroku.com.
I''m referring to the green box with the snowbird weather and snowfall
information.
this box has been scraped off of the snowbird site at:
http://www.snowbird.com/ski_board/snowreport.php
The problem is that on the snowbird site it
2011 Sep 30
5
Rails on Netbeans 6.9.1
I installed ruby 1.9.2 using RVM and then used Netbeans to install the latest
rails and gems etc.
However when I create a new rails application and click finish i get the
following error
http://old.nabble.com/file/p32569627/Screen%2BShot%2B2011-09-30%2Bat%2B16.14.01.png
Screen+Shot+2011-09-30+at+16.14.01.png
When I create a new rails project I correctly select the right version of
Ruby to use
2011 Dec 15
4
Scrapping Content from a website
Hey all,
I want to scrap some content from a website to rails application and
wants to authenticate the url of the website which I want to scarp so
please help me out....
Thank You!!!
--
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 May 09
5
Unicorn doesn't play nice with Capistrano deployment?
I am having issues when using unicorn with a Capistrano deployment.
>From what I have been able to understand Capistrano uses a scheme in
wich every release is deployed inside the releases directory under a
unique name and if the transaction was successful, creates a symlink
named current that will point to that release.
So I end up with a deployment directory such as:
2010 Oct 20
3
rspec error's when checking LayoutLinks from the railstutorials
I am following the rails tutorial:
http://railstutorial.org/chapters/filling-in-the-layout#top
Basically the test is something like:
spec/requests/layout_links_spec.rb
require ''spec_helper''
describe "LayoutLinks" do
it "should have a Home page at ''/''" do
get ''/''
response.should
2007 Mar 02
1
example standalone error.
Hello,
Trying to get the example to work in standalone mode. I have the following
in a file and am not certain why I get this undefined method error:
error:
~/ruby sample_app.rb
my sample app :)
sample_app.rb:9: undefined method `new_worker'' for
BackgrounDRb::MiddleMan:Class (NoMethodError)
### code follows ###
# sample_app ... try to get stand-alone happiness.
#require
2010 Sep 03
1
Action Controller Error: undefined local variable or method `current_user'
Newbie learning Rails. I''m currently on Chp9 here:
http://railstutorial.org/chapters/sign-in-sign-out#top
At the end of the tutorial, rails is erroring (see below). being new
to Rails and after having checked the tutorial... How do you resolve
this kind of error. It''s saying current_user is not defined, and it is
supposed to be defined with/Sites/sample_app/app/helpers/
2006 Dec 03
1
File Upload Unix Only?
I tried the upload feature in merb 0.0.7 using http://localhost:4000/files
I get the following:
Permission denied - D:/Temp/Merb.5172.0 or
E:/Dev/Ruby/merb-0.0.7/examples/sample_app/dist/public/files/foobar.jpg
- (Errno::EACCES) C:/Ruby/lib/ruby/1.8/fileutils.rb:501:in `rename''
C:/Ruby/lib/ruby/1.8/fileutils.rb:501:in `mv''
C:/Ruby/lib/ruby/1.8/fileutils.rb:1379:in
2012 Nov 06
2
rspec failure upon revisit
I just returned from a different project after taking a few weeks off of
my tutorial. I''m using Ruby on Rails 3 Tutorial - Learn Rails by
Example by Michael Hartl.
After rebooting my server I ran an rspec spec/ command to check to see
if there were any problems and this is what I received. I didn''t modify
anything except I did overwrite users_controller.rb and
2011 Aug 04
1
GitHub - How to resolve this issue of preventing push to origin?
When I try to push my application to ''GitHub'' using ''Git'', I get the
following:
$ git push origin master
Enter passphrase for key ''/c/Users/Medicine - SWEng/.ssh/id_rsa'':
ERROR: Repository not found.
fatal: The remote end hung up unexpectedly
**EDIT:**
Output of running `git remote -v`:
$ git remote -v
heroku
2006 Dec 03
2
How To Create Database Tables With Merb 0.0.7?
Howdy,
I just gem unpacked merb and have configured the sample_app to use an
sqlite3 database. I see that the Rakefile has a task named "schema",
but it points to /dist/schema/schema1.rb", which doesn''t exist. I
copied /dist/schema/schema1.rb to /dist/schema/schema.rb then ran
"rake schema". What''s the recommended way to create the database
tables?
2013 Mar 14
7
No Migration Files are created
I''ve been working with Rails for 3 Months now, but haven''t experienced
this problem until now. I''m currently working through Micharl Hartls
Tutorial and everything worked fine so far, but suddenly (chapter 11) I
can nolonger create Migration Files.
when entering "rails g model Name field1:type" I don''t get the usual
"create db/migrate...."
2012 Oct 03
6
Puppet Forge Happenings
Hello,
If you weren''t at PuppetConf or didn''t catch my talk, here''s a quick
recap. I''m product owner for the Puppet Forge team which formed in
July with 2 awesome engineers and an equally awesome designer. We''re a
team dedicated to the Forge and while ramping up, we''ve shipped three
small improvements to the Forge that we hope you enjoy.
*
2011 Sep 08
4
TCPServer in 1.9.2
Hi. First post in this group and I hope someone can help.
I am trying to teach myself Ruby with a long-term goal of doing some
web development using Ruby on Rails.
Note: version
C:\rails\hello>ruby -v
ruby 1.9.2p290 (2011-07-09) [i386-mingw32]
I have been going through Jeremy McAnally''s book "Mr. Neighborly’s
Humble Little Ruby Book" and there is a section in chapter 5
2006 Dec 07
3
What does js partial(...) do?
In the example application named "sample_app", comment.jerb contains
the following line:
$(''comments'').update(<%=js partial(:comments) %>);
What does the ''js'' method do to/with, if anything at all, ''partial(:comments)''?
Merb is quite fun to use and I''m starting to get a feel for it and
ruby. I''m surprised at
2015 Jan 26
3
Moving DC1 to a Virtual Machine
On 26/01/15 15:16, Paul Littlefield wrote:
> On 26/01/15 15:08, Rowland Penny wrote:
>> Yes, set up a new DC with your new OS and join this to the domain,
>> once up and running, transfer the seven (yes, there are 7) FSMO roles
>> to the new DC. Once everything is running ok, turn off the old DC and
>> remove *all* mention of it from the domain.
>
> Hi Rowland
2006 Dec 04
2
Merb on Win32 Platform
I''m trying to get Merb running on Windows XP SP2 and am experiencing
some difficulties. I load http://localhost:4000/posts/new in my
browser expecting to see the contents of new.herb rendered. However
the following error is reported:
Request: PATH_INFO: /posts/new
Params: {"action"=>"new", "id"=>nil, "controller"=>"posts"}
2005 Dec 28
2
OCI/ODBC on Windows
I have been trying to connect to an Oracle database on a windows
machine. I succesfully ran a test program using ODBC to connect to
Oracle, but I am out of luck on doing this with rails.
I am unable to install the OCI Adapter on Windows and am trying to
figure it out. Meanwhile, if anyone could provide me with some pointers
or references, I would be grateful. I am finding it a bit difficult in
2005 Feb 21
1
voice recognition xml
Anyone here technical enough to design a voice recognition voice xml
interchange for asterisk please email me; I've been speaking with a
contact of mine that is in the voice recognition space and he is
interested in 'donating' some technical support to the Asterisk
community to assist with this project.
This can only help benefit the Asterisk Community if this comes off.
If
2011 Jul 25
5
Arel quiz: complex queries with associations
I have a real-world application with some complex queries that I want to
convert to Arel (as part of an upgrade to Rails 3.1). So that I can
understand what I''m doing before I flail around in my real app, I wrote
a little sample app (just the models) with some similar associations --
one table joined with itself and more tables that join to another table,
so there are some queries that