[Rails] Re: telnet from link_to

2009-08-11 Thread Sazima
<%= link_to("TELNET", "telnet://domain.com") %> Cheers, Sazima On Aug 12, 12:17 am, Me wrote: > Is there a way to launch a telnet session from a link_to? --~--~-~--~~~---~--~~ You received this message because you are subscribed t

[Rails] Re: Complete Beginner…

2009-07-15 Thread Sazima
Might help: http://charlesmaxwood.com/9-resources-for-new-ruby-on-rails-developers/ http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/c04ab8bb12c4323d?hl=en Cheers, Sazima On Jul 14, 8:19 am, Zooshej wrote: > Hi Folks, > > I am a Media Designer and Ruby on Rails

[Rails] Re: New to Rails? Read This

2009-07-15 Thread Sazima
9 Resources for New Ruby on Rails Developers: http://charlesmaxwood.com/9-resources-for-new-ruby-on-rails-developers/ Cheers, Sazima On Jul 9, 4:59 pm, JannaB wrote: > Thanks for this post. I too am coming into this new (except for a > heavy Java background) and the onyl thing I would

[Rails] Re: Ways to chart data in Rails?

2009-07-12 Thread Sazima
Right-click the chart and you'll find Fusion Charts! http://www.fusioncharts.com/ Cheers, Sazima On Jul 12, 11:48 am, JannaB wrote: > I have found a site whose charts I would like to emulate. The cahrts > come up with a kind of smooth, animated look to them. If I go

[Rails] Re: Ui Designing with Rails opposed to PHP

2009-06-09 Thread Sazima
Cause they don't know RoR... Cheers, Sazima On Jun 9, 3:37 am, Zayd Connor wrote: > Why are there more web design users using PHP instead of using Rails? Is > there an advantage using PHP over Rails? > > Thanks > -- > Posted viaht

[Rails] Re: I need a lot of advice here - let's start from the beginning

2009-05-29 Thread Sazima
Try REE and Passenger: http://phusion.nl/ Cheers, Sazima On May 29, 12:59 am, "J. D." wrote: > Hi everyone - thanks for all of the input.  Here's an update: > > I did install VirtualBox on my Vista and got the latest ubuntu and > created a virtual drive etc., instal

[Rails] Re: Auto complete onclick

2009-05-26 Thread Sazima
Rodrigo, You can either use a hidden field for the ID or follow the approach covered by Ryan Bates in the following railscast: http://railscasts.com/episodes/102-auto-complete-association Cheers, Sazima On May 25, 9:34 pm, Rodrigo Felix wrote: > I'd like to know how I can put the

[Rails] Re: Is there any collabrative community content managemnt product available in ruby On Rails?

2009-05-23 Thread Sazima
html Cheers, Sazima On May 23, 4:30 am, gundestrup wrote: > what about insoshi?http://github.com/insoshi/insoshi/tree/master > > On May 23, 8:41 am, Marnen Laibow-Koser > s.net> wrote: > > Phlip wrote: > > > [...] > > > > I just started with Community Engi

[Rails] Re: Sending SMS messages without knowing the user's carrier

2009-05-21 Thread Sazima
Wayne, Clickatell rocks, go for it! Cheers, Sazima On May 20, 2:46 pm, Wayne Molina wrote: > I have an idea for a new web-based application that involves the use > of SMS notifications, however I can't assume a particular carrier. > Most of the plugins I've seen like sm

[Rails] Re: How to automatically Create a new page each day?

2009-05-20 Thread Sazima
Beware of bad SEO practices... Cheers, Sazima On May 19, 12:53 pm, Marnen Laibow-Koser wrote: > Colin Law wrote: > > What do you mean by 'create a new page for each day'? > > Colin > > This is the $64,000 question.  If "create a new page each day" jus

[Rails] Re: How to dump a variable?

2009-05-19 Thread Sazima
Finally, when using mongrel, you can always print to the console: print @variable.inspect Cheers, Sazima On May 19, 4:08 am, Colin Law wrote: > Another alternative, where appropriate, is to use the ruby debugger and > break at the appropriate point to display the object using the de

[Rails] Re: Overwhelmed with choices concerning Rails "best practices"

2009-05-18 Thread Sazima
e not particularly useful/necessary to the project at any given moment. Cheers, Sazima On May 17, 8:45 am, Wayne Molina wrote: > As someone who has repeatedly tried to sit down and really pick up > Ruby on Rails, the one deterrent I continually find is that the best > way of doing things see

[Rails] Re: moving a project from windows to linux

2009-05-05 Thread Sazima
Hey Adam, Copying usually works, but is the dirty solution. I usually create the whole rails environment in the target machine and then just checkout the application as usual. Cheers, Sazima On May 4, 11:04 am, Adam Akhtar wrote: > How easy is it to do this. Is it simply a case of copying

[Rails] Re: Ruby on Rails Certification

2009-05-02 Thread Sazima
Recommendations at http://www.workingwithrails.com are also worthy On May 1, 12:59 pm, Fernando Perez wrote: > Stick on your resume the URL of your github or open source projects' > page and rails related blog, that's worth any certification. > -- > Posted viahttp://www.ruby-forum.com/. --~--~--

[Rails] Re: Ruby on Rails Certification

2009-05-01 Thread Sazima
Or you o can take a practical approach, write software, show results! Perhaps contribute to the rails community with a plugin or something. Cheers, Sazima On Apr 30, 11:16 pm, shusseina wrote: > Is there any Ruby on Rails certification available for RoR developers? > > I am thinking o

[Rails] Re: What is the sequential steps of installing RoR?

2009-04-27 Thread Sazima
Sheru, Forget about Win, go for Linux over a virtual machine, for example Ubuntu running on Sun xVM VirtualBox. It's way easier, faster, better! Cheers, Sazima On Apr 26, 3:06 pm, sheru wrote: > Hi, > I am Sheru & am completely new for this web framework. I am really > real

[Rails] Re: still cannot install rails on windows

2009-04-22 Thread Sazima
SpringFlowers, I used InstantRails and it worked quite smoothly, but was very slow. I'm switching to Ubuntu over Sun xVM VirtualBox. You should definitely give it a try! Cheers, Sazima On Apr 21, 8:39 pm, SpringFlowers AutumnMoon wrote: > Marnen Laibow-Koser wrote: > >

[Rails] Re: ROR performance for milions pageviews/month

2009-04-15 Thread Sazima
Tom, Check Joyent's article on LinkedIn scaling (Scale Rails to 1 Billion Pageviews): http://www.joyent.com/a/scale-rails-to-1-billion-pageviews Also, we're currently revamping a couple very large sites using rails, so we're quite confident on its performance. (vc tá em SP?)

[Rails] Re: Packaging Rails App as Standalone EXE

2009-04-01 Thread Sazima
Jean, Have you seen Joyent's Slingshot? http://www.joyent.com/developers/slingshot/ Cheers, Sazima On Mar 31, 3:06 pm, Jean-Etienne Durand wrote: > Hi, > > Does anyone know what is currently the proper way to distribute a Rails > app as a windows exe (NT Service, how to pac

[Rails] Re: managing multiple rails applications with apache

2009-03-02 Thread Sazima
Phusion Passenger is the easiest (and increasingly better) way: http://blog.phusion.nl/2009/03/01/phusion-passenger-211-beta-released-thanks-sponsors/ Cheers, Sazima On Mar 2, 4:26 am, "--- z...@m ---" wrote: > how can manage multiple rails applications with apache > >

[Rails] Re: Storing just the year in the DB

2009-02-22 Thread Sazima
Scott, Why don't you use the default created/updated_at fields and just format the output to present only the year? Cheers, Sazima On Feb 20, 8:02 pm, Scott Holland wrote: > Hey, > > This may be a simple question, but I just wanted to make sure I was > doing it right. > &g

[Rails] Re: How to change Image of Markers in google map mashup???????????

2009-02-21 Thread Sazima
http://code.google.com/apis/maps/documentation/reference.html#GIcon Cheers, Sazima On Feb 21, 3:33 pm, Sazima wrote: > Vrishali, > > There are instructions for that in GMaps: > > -http://code.google.com/apis/maps/documentation/overlays.html#Custom_I... > > -http://code

[Rails] Re: How to change Image of Markers in google map mashup???????????

2009-02-21 Thread Sazima
Vrishali, There are instructions for that in GMaps: - http://code.google.com/apis/maps/documentation/overlays.html#Custom_Icons - http://code.google.com/apis/maps/documentation/reference.html#GMarker Cheers, Sazima On Feb 21, 7:30 am, "Vrishali" wrote: > Ok Thannks.

[Rails] Re: Removing string's accents

2009-02-20 Thread Sazima
http://www.jroller.com/obie/tags/ruby + http://www.techniconseils.ca/en/scripts-remove-accents-ruby.php Cheers, Sazima On Feb 20, 7:24 am, Chris Gers32 wrote: > Here's another solution: > > http://www.techniconseils.ca/en/scripts-remove-accents-ruby.php > > Un

[Rails] Re: Blackbook

2009-02-20 Thread Sazima
Hey, I used Contacts (GMail, Hotmail, Yahoo, Facebook, etc) and it worked like a charm: . gem install json-1.1.1-mswin32.gem . gem install contacts Cheers, Sazima On Feb 20, 4:36 am, Kivanc Gumrukcu wrote: > Hi, > When I run the following

[Rails] Re: Sending messages between users

2009-02-20 Thread Sazima
Chris, Why don't you use (or check how it's done) restful easy messages? Alternatively, LOVD (lovdbyless.com) does it all. Cheers, Sazima On Feb 19, 10:35 pm, Christoph Jasinski wrote: > Hi, > > I'm trying to create an web app where users can write messages to

[Rails] Re: post to external form

2009-02-18 Thread Sazima
Frank, What do you mean? You can't post TO a form, you post FROM a form... Cheers, Sazima On Feb 17, 9:18 pm, Frank Kim wrote: > Hi, > > This is probably a dumb question but I can't figure it out. > > How do you post to an external form?  I think the easiest way woul

[Rails] Re: como consultar en oracle

2009-02-18 Thread Sazima
A mi me gusta muchisimo el español, pero la mayoría de los otros miembros no van a entiender... Saludos, Sazima On Feb 18, 1:12 am, pepe wrote: > Hola > > A la gente aquí no parece que le guste mucho cuando los mensajes no > son en inglés. Aparte de eso la descripción de tu problem

[Rails] Re: como consultar en oracle

2009-02-17 Thread Sazima
Você percebeu que esta é uma lista em inglês? Abs On Feb 16, 6:51 pm, Oraldo Segundo wrote: > holaa todos ante todo un cordial saludo alguien que me pueda ayudar. > se plantea lo siguiente necesito mostrar 2 campos de una tabla los > cuales son mtin_mtin,mtin_descri de una tabla llamada re_tmti

[Rails] Re: Should I sleep here?

2009-02-12 Thread Sazima
Hi, Check out this excelent railscast: http://railscasts.com/episodes/129-custom-daemon It is really easy & effective. Also, Thorny Gorms has some built-in checks for form expiration: http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/9ec5a5112548c95e Cheers, Sazima

[Rails] Re: Reset password facility

2009-02-12 Thread Sazima
Lovd does just that, take a look at: lovdbyless.com http://github.com/stevenbristol/lovd-by-less/tree/master Cheers, Sazima On Feb 11, 7:35 pm, Shockmeister wrote: > I have used a sha256 hashing algorithm in order to provide some > security to my login facility. I now want to cr

[Rails] Re: Testing on Linux VM on winXP 3 times faster than XP

2009-02-10 Thread Sazima
So in the end you gave up on the virtual machine and are running Linux directly, is that it? Cheers, Sazima On Feb 9, 1:37 pm, Phlip wrote: > > Can you please elaborate on the setup you mentioned? > > I am ashamed to. > > > > You should try Vista. I experimented w

[Rails] Re: Pretty Record Lists

2009-02-10 Thread Sazima
Hey Chad, Check the WiceGrid Plugin. Never used, but seems to be what you want: https://redmine.wice.eu/wiki/wice-grid Cheers, Sazima On Feb 9, 8:12 pm, Chad wrote: > Can anyone recommend a lightweight plugin that renders lists of > records nicely with ajax sort, pagination, edit/

[Rails] Re: Insight on creating an online file editor (create, edit files, browse tree structure)

2009-02-09 Thread Sazima
rking, you might find it appealing glue it all together with AJAX. Finally, you need to control permissions, security, etc. Good luck! Cheers, Sazima On Feb 9, 3:17 am, elioncho wrote: > Hello guys, > > Can anyone give any ideas on how to start working to do an online file > edit

[Rails] Re: photos display on the same page

2009-02-09 Thread Sazima
Shuaib, There are a lot of options, try thickbox, as in Lovd: http://try.lovdbyless.com/profiles/2483-qwe/photos Cheers, Sazima On Feb 8, 5:10 am, Shuaib85 wrote: > Hi there > > I saw a nice way of displaying photos using rails, it is like the one > in the following l

[Rails] Re: Multiple database sources with Rails 2.2.2

2009-02-09 Thread Sazima
You can have a separate DB for each model? Cheers, SAzima On Feb 9, 8:59 am, Klaus Myrseth wrote: > > How can you as elegantly as the standard database config use multiple > > database sources. > > Seems as I posted this I found the solution within the hour :D &

[Rails] Re: how to get form parameters while using fields_for with nested attributes

2009-02-09 Thread Sazima
Take a look at the complex forms railscasts series (railscasts.com)... Cheers, Sazima On Feb 9, 6:32 am, Sahil Dave wrote: > hi all.. > > i am trying to use *fields_for* to get and save nested attributes in a form. > i have a 'Partner' model associated with an 

[Rails] Re: Testing on Linux VM on winXP 3 times faster than XP

2009-02-09 Thread Sazima
Phlip, Can you please elaborate on the setup you mentioned? > You should try Vista. I experimented with Qemu and Puppy-Linux > recently, and everything was faster. Cheers, Sazima On Feb 8, 10:26 pm, Phlip wrote: > itsastickup wrote: > > I had heard that ruby on a linux VM run

[Rails] Re: problem with instant rails

2009-02-09 Thread Sazima
Yeah, use the rake tasks Cheers, Sazima On Feb 8, 10:30 pm, stretch wrote: > Another approach.  To create the app with mysql in database.yml > >   rails something -d mysql > > Get to the root directory of the app and create the dev db in > specified in database.yml (ass

[Rails] Re: What is the url for my public folder

2009-02-06 Thread Sazima
handled dinamically by the appropriate controller in the app/controllers folder. Cheers, Sazima On Feb 5, 5:38 pm, Shandy Nantz wrote: > I can't seem to find what I'm looking for but I was wondering if I have > a site:www.mysite.com, what is the url for the public folder? >

[Rails] Re: Validation - Credit Card Validation

2009-02-03 Thread Sazima
Cyrus, You gotta check out Amy Hoy's cheatsheet! http://www.slash7.com/articles/2008/12/29/jump-start-credit-card-processing http://jumpstartcc.com/ Cheers, SAzima On Feb 3, 6:47 am, Cyrus Dev wrote: > Hello Everyone > > any one know how to validate credit card inform

[Rails] Re: How long do you take for each Development Cycle

2009-01-29 Thread Sazima
That's the problem with bugs, you never know how long they will take to correct. On the other hand, 4 days to resolve 25 simple bugs does not seem so tight. Cheers, Sazima On Jan 28, 3:42 pm, Ar Chron wrote: > 2 Developers * 3-4 Days * 40-50 Bugs < Happiness... > > Feel

[Rails] Re: Installing plugins... is git necessary?

2009-01-22 Thread Sazima
gem sources -a http://gems.github.com Cheers, Sazima On Jan 21, 9:55 pm, Sonny Chee wrote: > Hey Guys, > > I tried the following on my rails 2.1.1 project: > > > script/plugin install acts_as_tree > > and I got the following error: > > > Plugin not found: [&

[Rails] Re: Rails plugin for directions from Google Maps?

2009-01-22 Thread Sazima
Use GeoKit to perform the geocoding. Cheers, SAzima On Jan 21, 7:42 pm, admanb wrote: > Does such a thing exist? YM4R only seems to do markers. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rai

[Rails] Re: deployment problem

2009-01-22 Thread Sazima
Have you tried using JRuby? Cheers, Sazima On Jan 21, 6:26 pm, mahmoud_cs wrote: > can I deploy ruby site with glassfish? > > if  yes  how? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby

[Rails] Re: BlackBook Gem

2009-01-20 Thread Sazima
Well, you could develop a shell script / rake task or something like this, but I think its cleaner to do it via web service. Cheers, Sazima On Jan 20, 6:30 am, Gaurav Sharma wrote: > Sazima wrote: > > Gaurav, > > > You can have rails and PHP co-existing in the same server,

[Rails] Re: Attachment_fu: save to a default format

2009-01-19 Thread Sazima
Resizing is a basic feature, take a look at the README. Format transformation, on the other hand, is more difficult and is not a known feature of attachemnt_fu... Cheers, Sazima On Jan 19, 5:51 am, comopasta Gr wrote: > Hi, would anyone have any advices on the next? > > I allow users

[Rails] Re: Remote browser screen capture with Rials?

2009-01-19 Thread Sazima
Schalk, The guys from Pagestacker.com did just that. Talk to them, they are very friendly... Cheers, Sazima On Jan 18, 6:26 am, Schalk Neethling wrote: > Hi everyone, > > Does anyone know of a solution that will work with Rails that can > capture remote screen shots of website a.

[Rails] Re: convert images with attachment_fu

2009-01-18 Thread Sazima
Luca, It's probably possible to do it with one of the various image libraries available, but never seen that as a feature of attachment_fu... Cheers, Sazima On Jan 17, 8:17 am, Luca Roma wrote: > Hi, i'm using attachment fu plugin and mini magick for upload images. &g

[Rails] Re: how do I add a new font for my RoR website (hosted on linux, developed on Mac) ????

2009-01-18 Thread Sazima
Finally, when you absolutely need something exactly as you want, use images... Cheers, Sazima On Jan 17, 11:41 pm, Marnen Laibow-Koser wrote: > On Jan 17, 5:36 pm, Fernando Perez > wrote: > > > Greg Hauptmann wrote: > > > oh, that makes sense - so for our Web Apps we

[Rails] Re: "Gem::RubyGemsVersion" and gem -v don't match

2009-01-14 Thread Sazima
I had something similar, check your installations and paths... Cheers, Sazima On Jan 13, 9:18 pm, Rred Cat wrote: > Hello, > > 1) gem -v shows next: "1.3.1" > 2) my ruby&rails project has boot.rb file it contains next method > def rubygems_version >        

[Rails] Re: What's this called (nuby on rails question)

2009-01-13 Thread Sazima
, Sazima BACKGROUND PROCESSES - http://wiki.rubyonrails.org/rails/pages/HowToRunBackgroundJobsInRails == Asynchronous Tasks Launched from Rails request/reponse cycle + optional Message Queueing - Options . ar_mailer (only

[Rails] Re: Sqlite3 no longer found after upgrading to Rails 2.2 on MacOS

2009-01-13 Thread Sazima
a war going on. After all, aren't they going to merge in Rails 3? :-) http://weblog.rubyonrails.org/2008/12/23/merb-gets-merged-into-rails-3 Cheers, Sazima --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups &qu

[Rails] Re: how to keep track of popular items

2009-01-12 Thread Sazima
Popular in terms of viewing or selling? Why don't you keep a counter in the DB? Cheers, Sazima On Jan 11, 10:00 pm, Mohammad Abed wrote: > I have a site which is basically a catalog of product about 30,000.00 > products. What do you think is the best (in terms of performance) wa

[Rails] Re: params[:xxx]

2009-01-11 Thread Sazima
MaD is right, no matter what the expression, you will always get an exception if you try to evaluate nil.[] You can divide the expression in two: city = (params[:user]) ? params[:user][:city] || "xxx" : "xxx" Cheers, Sazima On Jan 11, 10:07 am, MaD wrote: > > @wo

[Rails] Re: BlackBook Gem

2009-01-09 Thread Sazima
Gaurav, You can have rails and PHP co-existing in the same server, but you would have to "glue" the applications together... You cannout use the gem directly in your PHP application. Cheers, Sazima On Jan 9, 8:46 am, Gaurav Sharma wrote: > Frederick Cheung wrote: > > On 9

[Rails] Re: 1 Page website :)

2009-01-09 Thread Sazima
If you don't want to use Active Record (database), just configure environment.rb to exclude it. Generate (scaffold) 1 controller and fill in the actions / views as you like. Cheers, SAzima On Jan 9, 1:04 am, typemismatch wrote: > Is there a way to create what is basically a 1 page

[Rails] Re: Anyone Recommend a File Uploader

2009-01-09 Thread Sazima
attachment_fu, file_column, paperclip (nice railscast) Ifo you need multiple concurrent uploads, go for something in flash... Cheers, Sazima On Jan 7, 12:13 pm, Dave Smith wrote: > Can anyone recommend a good file upload plugin for uploading standard > files (more than one file per a

[Rails] Re: gem update problem

2009-01-09 Thread Sazima
Exactly, check your paths, or link the standard ruby, gem and rails commands to the desired version... Cheers, Sazima On Jan 9, 11:08 am, Konstantin wrote: > Ah, I guess the problem is in the paths! > I have changed the standard "gem" command to work by default with > Passen

[Rails] Re: Installing Ruby on Rails

2009-01-09 Thread Sazima
I agree RoR is hot, but if you are a good developer, you can get a job in 1 month even without learning RoR... Cheers, Sazima On Jan 8, 10:19 pm, crazy canuck wrote: > I am completely new to all of this. I was told by a potential employer > if I learned Ruby on Rails and PostgreSQL I

[Rails] Re: RoR, Apache2, fcgid and ubuntu...

2009-01-07 Thread Sazima
On Jan 7, 4:05 am, ZebaMomin wrote: > I'm using the module fcgid with apache and so along with it I need the fcgi > gem. > I tried using fastcgi module but it would crashso I switched to fcgid > which is much reliable than fastcgi... > I've also installed and used phusion passenger and ruby

[Rails] Re: RoR, Apache2, fcgid and ubuntu...

2009-01-07 Thread Sazima
Zeba, You should either use mongrel or passenger. Cheers, Sazima On Jan 7, 4:05 am, ZebaMomin wrote: > I'm using the module fcgid with apache and so along with it I need the fcgi > gem. > I tried using fastcgi module but it would crashso I switched to fcgid > which is m

[Rails] Re: Rails Hosting

2009-01-07 Thread Sazima
Pete, Since you have multiple apps, you should look for a provider that offers Passenger. I had a similar setup whith 3 apps, each run by 4 mongrels. Result: out of memory! With Passenger you don't waste resources on apps without traffic at any given moment. Cheers, Sazima On Jan 6, 5:

[Rails] Re: Quick one! -- Project Messages!!

2009-01-06 Thread Sazima
with AJAX on-demand, but that might be too much at once. Cheers, Sazima On Jan 5, 7:05 pm, Ryan Bigg wrote: > Woah. > > Firstly, why are you calling .collect on project.messages and   > everything? This is unnecessary. > > Secondly, if messages is an association for a p

[Rails] Re: Quick one! -- Project Messages!!

2009-01-05 Thread Sazima
the index action end 3. View (app/views/messages/messages.html.erb) => do the same as in index, but showing the whole message... Cheers, Sazima On Jan 5, 3:20 pm, Dave Smith wrote: > Sazima wrote: > > If this 2nd page you want will contain only 1 message, then it is the > >

[Rails] Re: Quick one! -- Project Messages!!

2009-01-05 Thread Sazima
If this 2nd page you want will contain only 1 message, then it is the standard show action + view... Otherwise you can add a named route and use whatever name you want for the action and view. But it can be trickier to add comments. Cheers, Sazima On Jan 5, 3:05 pm, Dave Smith wrote: > Saz

[Rails] Re: Quick one! -- Project Messages!!

2009-01-05 Thread Sazima
Do you want the second page to contain all the messages or just 1 message? Cheers, Sazima On Jan 5, 8:40 am, Dave Smith wrote: > Hi Guys, > > The answer to this is probably pretty simple but I have an app which > holds projects, and have messages for each project. > > project

[Rails] Re: Rails apps packaging

2009-01-05 Thread Sazima
You can freeze the gems to the vendor directory and they become part of your application... Cheers, Sazima On Jan 5, 10:24 am, Joshua Partogi wrote: > Dear all, > > How do I package a rails apps and distribute it? As I can see that > rails library is installed inside the Ruby ge

[Rails] Re: Advanced authenticated system

2009-01-05 Thread Sazima
Did you see: http://railscasts.com/episodes/123-subdomains ? Cheers, Sazima On Jan 5, 11:58 am, Konstantin wrote: > I have tried 2 plugins: subdomain-fu + Restful authentication, > currently without any success. > If you have a working example for this issue - it will be highly >

[Rails] REE installed & working, but rubygems load error persists in cmdline

2009-01-05 Thread Sazima
error (require 'rubygems'). Why does it work under Passenger and not in the cmdline? Any clues on what's wrong? Cheers, Sazima --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Tal

[Rails] Re: Installing RoR for a Newbie is a nightmare

2009-01-04 Thread Sazima
usly doubt), you'll have to use the cmdline anyway... Cheers, Sazima On Jan 3, 9:06 pm, squashua wrote: > Sorry, but I still don't understand step 3. You wrote: > > "Now, you'll need to add the parent directory ruby.exe and gem.exe to > your PATH.  For now, you can go

[Rails] Re: Installing RoR for a Newbie is a nightmare

2009-01-04 Thread Sazima
Try Instant Rails, just download & unzip! Cheers, Sazima On Jan 3, 12:46 am, squashua wrote: > Hi, > > I'm a newbie who's tried over a half dozen times now to install the > full Ruby and All-in-One RoR app for my Windows XP machine. > Frustratingly, I haven'

[Rails] Re: How to set onclick function for select_tag?

2008-12-26 Thread Sazima
Zhao, Take a look at the excelent screencasts by Ryan Bates (specially episode #88 and others on AJAX, RJS and JQuery) at: http://railscasts.com/ Cheers, Sazima On Dec 26, 6:04 am, Zhao Yi wrote: > Phlip wrote: > > In HTML it's: > > >    onclick='Ajax.Reques

[Rails] Re: How to get one columns as an array from database

2008-12-26 Thread Sazima
#x27; 1355: "#{super}(#{attr_list})" 1356: else 1357: "#{super}(Table doesn't exist)" 1358: end 1359: end Cheers, Sazima On Dec 26, 3:27 am, Mohit Sindhwani wrote: > Zhao Yi wrote: > > Ryan wrote: > > >> I t

[Rails] Re: Beginner Layouts and Partials question

2008-12-24 Thread Sazima
sa 125, This paper (Modular Page Assembly in Rails) helps a lot: http://www.railsdev.ws/blog/3/modular-page-assembly-in-rails/ Cheers, Sazima On Dec 23, 12:38 pm, sa 125 wrote: > Hello - very new to rails and MVC, I'm trying to figure out how > layouts/partials co-exist. My b

[Rails] Re: help with counter_cache

2008-12-19 Thread Sazima
Maybe s.items.count is zero? Cheers, Sazima On Dec 19, 5:01 am, Scott Kulik wrote: > Bryce Roney wrote: > > You can run a migration like this > > > def self.up > >    User.find(:all) do |u| > >      u.update_attribute :items_count, s.items.count > >    en

[Rails] Re: When to use #show action in RESTful application

2008-12-18 Thread Sazima
Hey Patrick, I understand the index action to list the resources and the show action to display a specific resource. This way I normally use both actions... Cheers, Sazima On Dec 18, 1:22 am, "Patrick Doyle" wrote: > I am curious what folks do with the #show action (and its as

[Rails] Re: How to iterate through an instance

2008-12-17 Thread Sazima
exist)" 1358: end 1359: end Cheers, Sazima On Dec 17, 7:30 am, Tom Ha wrote: > Thanks a bunch, guys! > -- > Posted viahttp://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[Rails] Re: How to log in from console?

2008-12-17 Thread Sazima
James, You can use Mechanize for this sort of things: http://github.com/tenderlove/mechanize/tree/master Cheers, Sazima On Dec 16, 1:25 pm, James Byrne wrote: > I am attempting to investigate the object state during a login process. > I need instruction in the correct technique to e

[Rails] Re: free ruby on rails hosting?

2008-12-12 Thread Sazima
Heinz, Pay for a cheap Passenger host and you'll be happier in the end. Guaranteed! Cheers, Sazima On Dec 11, 9:54 pm, "Jeremy McAnally" wrote: > It actually does allow the same setup now thanks to Passenger. > Dreamhost is proof of that. > > --Jeremy > > &g

[Rails] Re: News Roll

2008-12-11 Thread Sazima
Rails app should be more than capable to respond to these AJAX requests. Cheers, Sazima On Dec 11, 7:28 am, "Jaikishan Jalan" <[EMAIL PROTECTED]> wrote: > Solving the similar problem, I am not sure if my previous approach was the > right way. Another thing I could think of is tha

[Rails] Re: New to Rails... Help!

2008-12-02 Thread Sazima
rning Ruby and then moving to Rails with AWDR, The Rails Way, etc. Cheers, Sazima On Dec 1, 10:44 pm, Jay Mark <[EMAIL PROTECTED]> wrote: > William, thanks for your help in resolving this issue. > It works great now. Thanks a lot. > > Please, if you know any good book or on

[Rails] Re: how to redirect_to the index.html page

2008-11-30 Thread Sazima
Pepe, Take a look at the API, you can redirect to an action, URL or plain text. Cheers, Sazima On Nov 29, 2:24 pm, Pepe Sanchez <[EMAIL PROTECTED]> wrote: > hi all > > If I add in my code  redirect_to :action => 'index'  it redicrects to > the index method in

[Rails] Re: Database password encryption

2008-11-27 Thread Sazima
Pepe, Unless you have a secure dedicated HW (something along the lines of the HSMs used in the financial industry), just encrypting the password is no better, as the encryption key must be stored somewhere and you end up with exactly the same problem... Cheers, Sazima On Nov 27, 2:08 am, pepe

[Rails] Re: Autodidacticism Collaboration with RoR

2008-11-27 Thread Sazima
Just curious: why no phone calls? Cheers, Sazima On Nov 27, 9:56 am, "Mr. Watson" <[EMAIL PROTECTED]> wrote: > Hello everyone, > > Does anyone want to learn Ruby on Rails from the ground up together? > > No phone calls. Only email and

[Rails] Re: Rakismet revisited :(

2008-11-24 Thread Sazima
Schalk, Git on Windows is a different beast, try googling for it... Cheers, Sazima On Nov 24, 9:07 am, Schalk Neethling <[EMAIL PROTECTED]> wrote: > Ok, I now installed git using: > > gem install git-rails > > Successfully installed fattr-1.0.3 > Successfully ins

[Rails] Re: MySQL

2008-11-24 Thread Sazima
ock Holmes... Cheers, Sazima On Nov 24, 5:28 am, "Mr. Watson" <[EMAIL PROTECTED]> wrote: > I try the command "rake db:migrate" and it tells me it cannot find > libmysql.dll file. > > On Nov 24, 1:02 am, "Mr. Watson" <[EMAIL PROTECTED]> wrote: > >

[Rails] Re: windows tail development.log

2008-11-21 Thread Sazima
Open it in EditPlus and it gets refreshed... Cheers, SAzima On Nov 20, 9:35 pm, Rafael <[EMAIL PROTECTED]> wrote: > Hey thanks guys for all the tipps! > > On 20 Nov., 23:55, Codeblogger <[EMAIL PROTECTED]> wrote: > > > Hi Rafael, > > > have a look at mt

[Rails] Re: Speed up counting?

2008-11-19 Thread Sazima
Man, you should really take a look at: http://api.rubyonrails.org/classes/ActiveRecord/Calculations/ClassMethods.html Cheers, Sazima On Nov 19, 7:46 am, Günther Lackner <[EMAIL PROTECTED]> wrote: > Hello! > > I need to speed up a count of apearances of a distinct category of

[Rails] Re: Rails site for mobile devices too

2008-11-11 Thread Sazima
ngent when it comes to stopping you going overboard => how do you set sessions and retrieve values? It's really not working for me... Cheers, Sazima On Nov 11, 3:29 pm, Frederick Cheung <[EMAIL PROTECTED]> wrote: > On 11 Nov 2008, at 17:05, Sazima wrote: > > > > > So

[Rails] Re: Rails site for mobile devices too

2008-11-11 Thread Sazima
So, cookies work after all? Any special way of setting it and/or handling? Cheers, Sazima On Nov 11, 2:41 pm, Frederick Cheung <[EMAIL PROTECTED]> wrote: > On 11 Nov 2008, at 16:32, Sazima wrote: > > > > > Hi Fred, > > > The audience is the average Inter

[Rails] Re: Rails site for mobile devices too

2008-11-11 Thread Sazima
? Cheers, Sazima On Nov 11, 12:09 pm, Frederick Cheung <[EMAIL PROTECTED]> wrote: > On 11 Nov 2008, at 13:58, Ricardo Sazima wrote: > > > Guys, > > > Need help on how to serve pages for mobile devices. Can someone   > > point out a couple of references to start? I

[Rails] Rails site for mobile devices too

2008-11-11 Thread Ricardo Sazima
le of accepting & storing cookies? Thanks in advance for the help! Cheers, Sazima --~--~-~--~~~---~--~~ 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 rubyonr

[Rails] Re: Update action | NoMethodError | nil.to_sym

2008-10-26 Thread Sazima
heers, Sazima On Oct 25, 4:32 pm, Miked <[EMAIL PROTECTED]> wrote: > Ok, totally no reason why I'm getting an error in this model update > and no other.  HELP! > > CONTROLLER: > >   # GET /employees/1/edit >   def edit >     @employee = Employees.find(params[:id

[Rails] Re: 3 different areas, 1 yield?!

2008-10-23 Thread Sazima
Heinz, You should really take a look at this: http://www.railsdev.ws/blog/3/modular-page-assembly-in-rails/ Cheers, Sazima On Oct 22, 1:35 pm, Heinz Strunk <[EMAIL PROTECTED]> wrote: > Hello, > > I'm having a problem which is following: > > [STUFF FROM TH

[Rails] Re: So many users, so little time - looking for a better way

2008-10-21 Thread Sazima
http://railscasts.com/episodes/129-custom-daemon . BackgrounDRb . rufus-scheduler => GOOD . Taskr . UNIX Cron and Runner (simple, but consumes resources and you can't controll well) Cheers, Sazima On Oct 21, 12:33 am,

[Rails] Re: How do I only show items that belong to a certain user?

2008-10-20 Thread Sazima
@user.documents Cheers, Sazima On Oct 19, 7:06 pm, David Smit <[EMAIL PROTECTED]> wrote: > I have a web application with users and their documents. Each user can > have many documents: > > user.rb: > > has_many :documents > > document.rb: > > belongs_to :user

[Rails] Re: Track number of clicks on a link

2008-09-26 Thread Sazima
li.count++ li.save end Cheers, Sazima On Sep 25, 7:45 pm, andres <[EMAIL PROTECTED]> wrote: > On Thu, 2008-09-25 at 13:52 -0700, Dan Paul wrote: > > Thanks for the response, sorry I'm totally new to this any way you can > > elaborate or show example? Any help w

[Rails] Re: Gem Update issues

2008-09-22 Thread Sazima
John, Building gems in Windows is a pain. There is no "make/nmake" command. You also have all these compiler issues described by Fred above. I always use pre-built... Cheers, Sazima On Sep 20, 11:14 pm, John Bailey <[EMAIL PROTECTED]> wrote: > O.k., I'm running an XP SP