search for: humblelittlerubybook

Displaying 20 results from an estimated 26 matches for "humblelittlerubybook".

2008 May 22
4
how to find out autoincrement id ?
Hi I need to push newly created item id to file. (ie. its autoincrement value) I tried this on controller but it wont work, it cant find id value for the newly created item. def create @imitem = Imitem.new(params[:imitem]) system "echo \"@imitem.id\" > /tmp/myid" any help ? --~--~---------~--~----~------------~-------~--~----~ You received this message because you
2007 Dec 22
8
Rails 2.0 scaffold
Hey guys, I posted the other day about scaffold not working and i was told that it was rails 2.0 doing this. (btw i''m using adgile web development) I have read on the internet that you need to put extra stuff like title, description...... So i did this: C:\ruby\depot>ruby script\generate scaffold Product Admin id:int title:varchar(1 00) description:text image_url:varchar(200)
2008 Apr 03
3
Branchable migrations -- A plugin to let you organize your migrations
...ew bugs in the code to work out and a number of ugly spots, but it works. Suggestions, pull requests, patches, bugfixes, and complaints welcome. :) --Jeremy -- http://jeremymcanally.com/ http://entp.com Read my books: Ruby in Practice (http://manning.com/mcanally/) My free Ruby e-book (http://humblelittlerubybook.com/) Or, my blogs: http://mrneighborly.com http://rubyinpractice.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 to rubyonrails-talk-/JYPxA...
2008 Jan 10
14
Keeping Camping going
...e care of some tickets, and add some improvements. I''d hate to see Camping die a slow, lingering death in the woods because no one came to look for it. --Jeremy -- http://www.jeremymcanally.com/ My books: Ruby in Practice http://www.manning.com/mcanally/ My free Ruby e-book http://www.humblelittlerubybook.com/ My blogs: http://www.mrneighborly.com/ http://www.rubyinpractice.com/
2008 Feb 03
4
Extract vowels and consonants using Ruby Regex
Hello, I am trying to build a regex to extract vowels and consonants from a string. So far, I am able to extract the basic a-e-i-o-u sequence using the following extension to the String class: class String def vowels scan(/[aeiou]/i) end def consonants scan(/[^aeiou]/i) end end examples: >> "Mary had a little lamb".vowels => aaaiea >> "Mary had a
2007 Oct 15
0
A Ruby/Rails bibliography
...people to, so if one of these becomes out of date or you have a better suggestion, then please tell me. I''ll try my best to keep it up to date. Thanks! Jeremy -- http://www.jeremymcanally.com/ My books: Ruby in Practice http://www.manning.com/mcanally/ My free Ruby e-book http://www.humblelittlerubybook.com/ My blogs: http://www.mrneighborly.com/ http://www.rubyinpractice.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 to rubyonrails-talk-/...
2008 Jan 09
1
SIP Client in Rails App
Hey, do you think it could be possible to integrate a SIP or IAX client into a Rails app to use it for VoIP calls directly from the web page by clicking a link without having to download a 3rd party client? Is there any other solution than an activeX control to access the microphone? Do you have made experience with a free minimalistic applet or activeX control? Greets -- Posted via
2008 Oct 11
1
Test Coverage Tool for TDD?
Hi, I''m learning TDD without using Shoulda or RSpec. When I played with RSpec, there was a tool to show test coverage visually. Is there any similar function built-in to Rails Test::Unit? Or do I need to add it on my own? What''s the recommended tool? I tried `rake -T test`, but didn''t find anything about coverage. -Jon
2007 Jul 08
0
dcov (the documentation analyzer for Ruby code) v.0.1.0 released!
.../projects/dcov/ (3) grab it from svn: svn co svn://rubyforge.org/var/svn/dcov Visit http://dcov.rubyforge.org/ to stay up to date on what''s going on with this project... Enjoy, Jeremy -- http://www.jeremymcanally.com/ http://www.railsdocumentation.org/ My free Ruby e-book: http://www.humblelittlerubybook.com/book/ My blogs: http://www.mrneighborly.com/ http://www.rubyinpractice.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 to rubyonrails-t...
2008 Nov 21
2
How to install the plugin manually?
Dear all I would like to install plugin auto_complete but failed.. jruby -S script/plugin discover C:/jruby-1.1.5/lib/ruby/1.8/open-uri.rb:278:in `open_http'': 407 Proxy Authentication Required (OpenURI::HTTPError) I have set the http_proxy=http://user:password@host:port/, It is working fine to fetch gem files. I know the plugin is in here:
2008 Jan 16
1
Firedraw: World's First Ajax based Flow Diagramming Tool
Dear Friends, I m pleased to present Firedraw www.firedraw.org , World''s First And Only Ajax based in-browser visual modeling tool. Currently it has options for drawing Flow Diagrams. Soon we will be incorporating UML and ERD drawing capabilities. This is our second Beta Test release dated 16 Jan 08, first Beta Test release was deployed on 2 Jan 08. Since then, we have incorporated many
2007 May 04
22
CampingConf?
Campers -- In a few weeks there will be a bunch of people in Portland, OR, for a conference. A long time ago some campers mentioned that might be a good time for us to get together and hold a mini CampingConf for a few hours. Is anyone interested? Does anyone want to organize it? I''m thinking Wednesday night, May 16. We could possibly get a spot at FreeGeek (not likely since they are
2007 Feb 07
2
Would calling 3.am or 1130.pm be a useful way of getting a Time object?
Would "am" and "pm" be convenient and useful methods that Rails should stick on top of the Numeric class? So instead of calling Time.parse("23:30") to get a Time object at 11:30 PM, you could do 1130.pm instead. Just trying to get an opinion before I create a patch, unit tests, etc and try and convince someone to notice :) Here are the methods if anyone wants to
2008 May 09
6
Operator Names.
What is this ''=>'' operator called? Does it have a name? --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to
2008 Feb 27
2
problem installing webOrb => Plugin not found: "http://themidnightcoders.net:8089/svn/weborb"
I''m trying to install weborb in my applications but it is not working as you can see: C:\RoR\mijnapplication>ruby script/plugin install http://themidnightcoders.net:8 089/svn/weborb --force to reinstall + ./README + ./Rakefile + ./init.rb + ./install.rb + ./lib/AC_OETags.js + ./lib/InfoService.rb + ./lib/data-management-config.xml + ./lib/example.html + ./lib/example.mxml +
2008 Jun 22
3
Routing Error No route matches "/employee/list" with {:method=>:get}
hi, I am very frustrated by this error when I just put together a very simple project from one of the textbook on RoR: Routing Error No route matches "/employee/list" with {:method=>:get} For your reference, #The following is EmployeesController.rb class EmployeesController < ApplicationController scaffold :employee # create scaffold code for controller #
2007 Dec 27
17
2.0 & "Agile Web Dev..." book
Just running through the first little project (depot) in ''Agile Web Development with Rails''. It isn''t scaffolding like it says it should in the book. After running: >rails -d mysql depot then SQLing: drop table if exists products; create table products ( id int not null auto_increment, title varchar(100) not null, description text not null, image_url varchar(200)
2009 Apr 02
7
Announcing a new Ruby journal
2 April 2009 My name is Martin Streicher. I am pleased to announce three new publications dedicated to web developers. Red: The Journal of Ruby Development Facade: The Journal of Front-end Development Tabula: The Journal of Open Source Database Development The three publications obviously have a great number of topics in common between then, and much that is unique. Where ever possible,
2008 May 02
6
looking for Mod_Ruby and easy Deployment Options? Sign Here
Hi, http://www.ruby-forum.com/topic/151662#669164 Hi, Please read more on the above link first, which is available in this section of Ruby on Rails. It will give you a clear understanding of Deployment scenario The Author of that thread and Me too, are frustrated with Lack of Shared Hosting and Tough Deployment Scenario, since nothing is shaping up. We do not want to get carried away with
2008 Jun 29
3
Working around/with Restful Authentication
I''m using Restful Authentication, and the code to create a user is pretty straight forward - there is a before_save action and a before_create action: before_save :encrypt_password before_create :make_activation_code But for some reason when I try to create a user programmatically in the controller like this: User.new(:email =>