Displaying 20 results from an estimated 50000 matches similar to: "ERROR"
2007 Aug 21
7
Signin to LinkedIn
Hi,
Does anyone have the formula for getting logged into LinkedIn?
Here''s my current attempt:
require ''rubygems''
require ''mechanize''
agent = WWW::Mechanize.new
home_page = agent.get(''http://www.linkedin.com'')
signin_page = agent.click home_page.links.text(''Sign in'')
puts "\nSIGNIN PAGE"
2007 May 20
0
Urgent :: File Object problem
disclaimer: Im not a developer, in fact I know very little of Ruby.
I had this script made for me by Endax, LLC. I have run into problems
with the script and they are unable/unwilling to help resolve the issue.
The script was working fine for a while, but now when I run it I get the
following error in the Ruby editor:
>ruby realtor_scraper.rb
realtor_scraper.rb:54:in `initialize'':
2007 Nov 27
9
New to RonR...
Hello,
I''ll try to keep this short BUT, I''ve got little/no experience with
programming. In fact, my only background is using Cold Fusion (since
1996 and VERY little of that for the past 5 years as I''ve been playing
as a Manager-type at my jobs so I haven''t had to do any hands-on stuff
for a while).
My question: Would Ruby on Rails be a good platform to get
2009 Jan 07
1
Problems with EasyEclipse Ruby Rails 1.2.2.2
Hi,
I''m a real newbie both in Rails and Ubuntu but I''m going to learn Ruby
on Rails for a schoolproject. I''ve tried to find out what IDE is best
according to different tutorials and blogs and have chosen to download
easyeclipse-ruby-rails-1.2.2.2.tar.gz.
My problem is that when i start the program an error popup is shown:
"An error has occurred. See the log file.
2007 Oct 18
7
Rails app settings for GoDaddy
I have a rails application that I am trying to get up and running on my
GoDaddy account. I read an article that I got from this forum about how
to properly set-up my account, but after following those direction I
still get nothing to work. Just wondering if there is anyone out there
that can point me to other resources to get me started or if anyone has
any suggestions on what to try next. The
2008 Jun 17
6
Book released "Aptana RadRails: An IDE for Rails Development"
Hi,
Some months ago, a person from Packt Publishing posted a message in this
list looking for potential Authors/Reviewers for new Ruby on Rails
books. Now I''m proud to announce my book [1] "Aptana RadRails: An IDE
for Rails Development".
If you are using [2] Aptana RadRails, or if you are looking for an IDE
and you still haven''t decided which one to use, you might
2007 Dec 29
2
needs to have method `_load'
I''m getting an exception that I''m fairless clueless about. It occurs
when I run a "create" action but neither my action or before filters
are hit before this exception. I''m hoping someone can give me a clue.
I suspect it has to do with marshalling objects in the session - maybe
TzTime is not capable of being stored in the session. I hope that''s
not the
2008 Sep 29
4
RJS is not loaded
Hello,
I have here an issue which is really critical for me (it for my
university work and I would like to not delete this feature). It based
on a Rails 1.x tutorial which I use now under Rails 2.x. It contains the
refreshment (adding content or records) of an div via RJS/JS.
I access the RJS via (Controller):
respond_to do |format|
format.html { redirect_to :controller =>
2007 Jul 20
4
the value in text_field helper
I have been working on this small, minute, part on my project and it all
hinges on setting the value in a text_field helper. Saying:
<%= text_field ''user'', ''company'', :value => @login %>
does not do it. When I go and look at the raw html, there is no value
there and "value" is an attribute of the input tag, im pretty sure. I
really like
2008 Aug 20
7
:include confused by true?
I have two models:
guest
rsvp
guest belongs_to rsvp and rsvp has_one guest
When I try the following I get an error:
@coming = Guest.find(:all, :conditions => ["coming = ?",
true], :include => :rsvp)
It complains of an unknown column ''coming''
I''m sure I''m doing something stupid but I can''t see it. Any help
would be appreciated.
2009 Jul 10
3
text_field_with_auto_complete
I need to pass a parameter in my text_field_with_auto_complete and am
struggling to discover how to do this. I have something like this:
<%= text_field_with_auto_complete ''user'', ''username'', {}, {:with =>
"''post=''@company_title.id"} %>
but because it is in a partial that pops as a result from a
remote_function_tag, I am
2007 Sep 19
3
link_to method of different controller
I want to link to a method of a different controller. I thought I new
how to do this but the code that I have is not working:
<%= link_to ''Welcome Page'', { :action => ''index'', :controller =>
''music_controller'' } %>
Any ideas, thanks
~S
--
Posted via http://www.ruby-forum.com/.
2008 Nov 15
4
data not being saved
I am trying to save data entered in a form and nothing seems to be
saving. What do you I have to look at to ensure everything is set-up
correctly? I have looked in my database.yml file and all looks good and
the database that I am trying to use exist. Thanks,
-S
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you
2006 Apr 21
1
Catch authentication result from a model in a controller
Im still following the authorization recipe from the book, now all works
fine but im getting trouble in how handle the model authorization
result, if the user and pass are correct, it goes to a welcome
screen(admin.rhtml) but if wrong the model prints a message in an ugly
exception like page "usr and pass not correct", i want to redirect the
user to the login
2007 Nov 08
3
options_from_collection_for_select
I need to add a blank or dashed field to the
options_from_collection_for_select helper but can''t seem to get it to
work. Tried this, but with no effect:
<%= options_from_collection_for_select @airlines, ''id'', ''name''],
{:include_blank=>true} %>
Anyone know how to do this? Thanks,
-S
--
Posted via http://www.ruby-forum.com/.
2007 Aug 26
4
What do you think of Aptana?
Hello everyone,
I am new to this forum and Ruby, and already have a question - what do
you think of Aptana IDE in regards to RoR development?
Thanks, Val
--
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
2007 Dec 19
5
Installation Trouble
Hey all,
I''m new to BDD and rspec, but I am very intrigued.
I tried installing rspec and rspec_on_rails into my Rails app, but I am
having some trouble.
I chose to install both as plugins, as the documentation suggests. I
checked out the CURRENT tag from svn, and copied the rspec and
rspec_on_rails directories into my app''s vendor/plugins directory. Then
I ran
2016 Oct 26
2
winbind backend ad not working
Hi Rowland,
not for all users, some users have a gidNumber not inside the range. I
expected to see the users with a gidNumber insite the range. It was a
classicupgrad from a very old samba3 so we have gidNumbers below 100 for
some users, but we only want to have the users with a gidNumber insite
the range. So we don't care about the users outside the range.
Stefan
>
> Have you
2008 Sep 23
6
No css formatting
I''ve just moved a rails site across to a test server from my
development PC.
I''ve frozen rails and put all the relevant gems into the vendor/gems
directory too. I''ve migrated the mysql database and configured Apache
with Phusion Passenger.
I can access the site and the content is fine. The formatting however,
has disappeared - it''s as though the css file does
2010 Jan 30
0
bug or desired behaviour? couldn’t identify form using string ‘post’ but ‘POST’. html contains ‘post’ though
hi
the code that didn''t work although the page source code says ` <form
class="login" method="post"> `
Please see more info on
http://stackoverflow.com/questions/2165834/bug-or-desired-behaviour-couldnt-identify-form-using-string-post-but-post
Thank you
Radek
`login_form = page.form_with(:method => ''post'')`
and code that works