search for: rubyrailways

Displaying 20 results from an estimated 20 matches for "rubyrailways".

2007 Jan 04
5
Mashup Tutorial
Hi: I am looking for a good hands on web mashup tutorial? or books for that matter.. Google gives me bits and pieces of the info but not any step by step or hands on tutorial.. Thanks a bundle -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"
2006 May 15
3
Page hit counter?
Hello all, Yet another "don''t reinvent the wheel" n00b question: Is there an ''official'' page hit counter plugin/code snippet/whatever? I would need something like this: - It is possibility to set a constant timespan (say 5 hours). - On every page hit, save away @request.remote_ip and Time.new - The counter gets incremented only if the same IP was here
2007 Feb 20
7
How to Get data from Web Page to Database.
Hi, I want to get the details from a table which is displayed on a Web page into the Database. How to read that Web page ? I mean if there is table Student details like Roll no., name etc. And I want to read that table & store it into my database in table My_Student. How to do this? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are
2006 May 05
0
(P)review of AWDwR and R4R
Hello, A lot of discussion is going on about AWDwR 2nd ed, i have decided to write an entry about it (and R4R) after reading few chapters: http://www.rubyrailways.com/fisrt-impressions-of-awdr-2nd-ed-and-r4r/ Cheers, Peter
2006 Apr 19
2
ubuntu 5.10 postrgres gem
Hi, I''ve installed Ubuntu 5.10, with Ruby 1.8.4 with thoose rep: deb http://www-devel.orcaware.com/packages/ubuntu/ breezy/ deb-src http://www-devel.orcaware.com/packages/ubuntu/ breezy/ when I give: sudo gem install postgres I get: Attempting local installation of ''postgres'' Local gem file not found: postgres*.gem Attempting remote installation of
2007 May 06
1
How to submit this form?
Hey all, maybe I am missing the obvious again, but I can not submit the form on buy.com: require ''rubygems'' require ''mechanize'' agent = WWW::Mechanize.new agent.user_agent_alias = ''Mac Safari'' page = agent.get("http://www.buy.com") search_form = page.forms.with.name("searchbox").first p search_form.buttons the last
2007 Apr 19
0
scRUBYt! 0.2.8
...arseTree which will make the installation on windows possible without the need to compile C. Please continue to report problems, discuss things or give any kind of feedback on the scRUBYt! forum at http://agora.scrubyt.org Cheers, Peter - on the behalf of the scRUBYt! devel team __ http://www.rubyrailways.com :: Ruby and Web2.0 blog http://scrubyt.org :: Ruby web scraping framework http://rubykitchensink.ca/ :: The indexed archive of all things Ruby. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: T...
2010 Jan 25
4
Does Amazon.com blocks scraping?
Hi there Does anyone know if Amazon.com has any sort of server side script that tries to block scraping activities? I first noticed that if I didn?t change the agent alias, it would fetch a page exactly like the normal one, but without the intial search field(maybe a silly way to prevent scraping). Then after it, I changed to some other alias, and submit a search. I got the result page as
2006 May 12
21
Drupal vs. Ruby on Rails
Hello all, Maybe the $subj is a little bit weird (i.e. apples vs oranges) but it is a situation i am facing at the moment: We are developing a small web site which will be mostly a CMS (more or less) and my colleagues is arguing for drupal, and i am for RoR. Maybe i can formulate the question in a different way: when to use a CMS (not necessarily drupal but e.g. Radiant CMS) and when to use Ruby
2007 Oct 23
3
Ruby on Rails and Oracle
Hello, I''m having a trouble when I try to connect RoR and Oracle. I believe that it has something to do with database.yml, this is how my database.yml looks: development: adapter: oci database: 127.0.0.1:1521/XE username: system password: y1984nip0359 host: 127.0.0.1 And this is the Error that i get: -> http://127.0.0.1:3000/blog OCIError in BlogController#index
2006 Mar 29
38
Poll: Which distro do you use for Rails/Ruby development?
Good afternoon, I''ve two quick questions for the Ruby/Rails community. 1) Do you use Linux for Ruby or Rails development? 2) If you use Linux, which distro do you normally use to develop? Thank you for your input. :-) -- Posted via http://www.ruby-forum.com/.
2006 May 22
2
How to execute time consuming code
Hello all, I have a screen scraping application (go to a lots of sites, extract 10k stuff, integrate the results, put them to DB etc). Now i want to use a Rails application as a frontend to this: The user can push a button which triggers the screen scraping app and view the results (preferably asynchronously, but that does not really matter right now). Questions: - Should the screen scraping app
2006 May 30
4
Help with Shopping Cart example from Agile Web Development 2nd Edition
Hi I get to about page 103 of the book and get an application error. Further investigation reveals the following error in the dev log: Mysql::Error: #42S22Unknown column ''id'' in ''where clause'': UPDATE sessions SET `data` =
2006 May 18
10
new user.
Question please. I''ve bought the beta ''Agile web dev with rails''. Are book related questions valid on the list please? regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk
2006 May 12
2
synchronize blog with Ruby on Rails site?
Hello all, I have the following problem: *) I have a WordPress blog at site x *) I have a Ruby on Rails site, y *) I want to accomplish the following thing: If i post a blog entry into my wordpress blog at x, (in category z), i want it to appear automaticaly at y (in a blog which is... let''s say just a Ruby on Rails something, or alternatively Typo or maybe WP) Suggestions to tackle
2006 May 24
2
Which JS/Ajax library to use with RoR
Hello, I am beginning to soak myself into JS/Ajax stuff and I am quite confused because of the myriad of AJAX books/frameworks - Its even worse than RoR in this sense (i.e. in the case of RoR, half of the people are writing books on it, and i believe this value is even higher with AJAX ;-) Of course this is not a bad thing, but if a newbie has to choose something it can be really hard. So my
2007 May 28
2
Clicking image maps?
Hello all, I am trying to click image maps ("area" nodes), and while Perl''s mechanize treats "a", "area", "frame", "iframe" and "meta" tags as links, it seems to me that Ruby''s Mechanize thinks only "a" tags can be links (at least my little experiment, namely: page.links.each {|link| puts link.node.name}
2007 Apr 19
1
Do you have any idea what could be the problem with this script?
Hello all, If I run this script, and observe the output, the results are not there at all (try to do the same in the browser). Any suggestions? require ''rubygems'' require ''mechanize'' agent = WWW::Mechanize.new agent.user_agent_alias = ''Mac Safari'' page =
2007 Apr 20
2
Running script does not return the correct page
Hello all, I have tried to post this yesterday, but noticed I was actually not subscribed yet... Well, here we go again: If I run this script, and observe the output, the results are not there at all (try to do the same in the browser). Any suggestions? require ''rubygems'' require ''mechanize'' agent = WWW::Mechanize.new agent.user_agent_alias =
2006 May 21
3
Where to put partials called from the application layout
Hello, My main application layout, app/views/layout/application.rhtml looks like this: something render partial_1 something else render partial_2 something else render partial_3 The partials are not really doing anything, i use them to keep the layout modular (i.e . to have ~30 lines instead of 200). Now, the question is where to put _partial_1.rhtml, _partial_2.rhtml, _partial_3.rhtml. If i am