[Rails] Re: How to change a rails app to INstant rails app???

2010-01-11 Thread ralu
On Jan 9, 9:44 am, Norm Scherer normsche...@earthlink.net wrote: Ralu rm wrote:@comopasta thanks for the help..it worked but in myrailsapp i was using webrick as server and now i need to change it into mongrel in instantRails . when i click start with mongrel ininstantrailsapp its not

[Rails] Re: How to generate this SOAP xml request?

2010-01-11 Thread comopasta Gr
Anyone? I'm checking from: - http://dev.ctor.org/doc/soap4r/ - http://dev.ctor.org/soap4r I'm sure the info is in front of my eyes but... Cheers. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group.

[Rails] Re: HELP TO SHOW IMAGE

2010-01-11 Thread Newb Newb
Any Helps? -- 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 to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to

Re: [Rails] Re: Re: Edit only your posts

2010-01-11 Thread Colin Law
2010/1/10 Alberto Lopez li...@ruby-forum.com: ... Aaahm..  I think yes. I don't know another way to make it :S (I'm a little bit novice. I know a little bit Ruby but I get into mess with some things). I have thought to make a function current_user probing the user by name and make an if

Re: [Rails] set Time.zone to current user time zone

2010-01-11 Thread Colin Law
2010/1/10 Johnny Shi johnny.t@gmail.com: I want to set the Time.zone to the user's current time zone, I don't want to store the timezone in user profile like many other solutions. How to do that? I believe this has been discussed a number of times and my understanding is that the only way

Re: [Rails] Autotest - Can make an-install work.

2010-01-11 Thread Colin Law
2010/1/11 Rodrigo Dellacqua rgoyta...@gmail.com: Hey there, I'm trying to install the autotest. After installing all the pre-requisites, I installed the sudo gem install autotest-notification It tells me to execute an-install What is the exact output from the install please? Colin

Re: [Rails] Re: HELP TO SHOW IMAGE

2010-01-11 Thread Colin Law
2010/1/11 Newb Newb li...@ruby-forum.com: ... img src=MyCaptures/some_image.png the actual path that comes up in the address bar when click on the link is below controller_name/open_file/path/to/some/file I have not studied the whole thread carefully but just looking at your link, that will

[Rails] Capistrano deploy without irs_process_scripts

2010-01-11 Thread Ale Ds
Hi, I am reading docs to understand how to deploy with Capistrano my ROR webapps. In guides.rubyonrails.org/2_3_release_notes.html is written: If you’re one of the (fairly rare) Rails developers who deploys in a fashion that depends on the inspector, reaper, and spawner scripts, you’ll need to

Re: [Rails] My talk at PHPcamp - CakePHP Vs Ruby On Rails

2010-01-11 Thread Conrad Taylor
On Sun, Jan 10, 2010 at 11:56 PM, gautamrege gautamr...@gmail.com wrote: Hi, Last week-end I gave a talk at PHPCamp in Pune. It was interesting to be surrounded by PHP folks and talking about Ruby On Rails! My talk and tweets later - started a debate on Twitter with the founder of CakePHP

[Rails] NOT SOLVED - PROBLEM IN ACCESING FILE

2010-01-11 Thread Newb Newb
Dear all, I have a question which is driving me crazy Kindly look the below code In my public folder public/Server_exe/ChatHistory/2010-01-10/2010-01-10\1~Vs~2\1~Vs~2.html = this is my live chat file path for the above chat file images are in the following path

[Rails] Re: How to generate this SOAP xml request?

2010-01-11 Thread comopasta Gr
Hi, I guess this can be ignored. I found out that the best way to do this is not by generating the soap request manually but leave that work to wsdl2ruby. I followed this: http://www.brendonwilson.com/blog/2006/04/02/ruby-soap4r-wsdl-hell/ and I'm already making a SOAP call to the method I

Re: [Rails] NOT SOLVED - PROBLEM IN ACCESING FILE

2010-01-11 Thread Colin Law
2010/1/11 Newb Newb li...@ruby-forum.com: Dear all, I have a question which is driving me crazy Kindly look the below code In my public folder public/Server_exe/ChatHistory/2010-01-10/2010-01-10\1~Vs~2\1~Vs~2.html = this is my live chat file path for the above chat file images are in

Re: [Rails] [PROJECT] Youtube like web application

2010-01-11 Thread shyam mohan
Hi if u looking for soln . i has made some thing simmler to this all ur requirements this is in development phase you can check this http://dev.4moles.com:3030/videos/video_listing Regards, Shyam +91-971-618-9650 sh...@crypsis.net On Sun, Jan 10, 2010 at 4:02 PM, Conrad Taylor

[Rails] Re: Ruby on Rails and Postgres - Installing postgresql gem

2010-01-11 Thread Phillip Koebbe
On Jan 10, 3:55 pm, Rodrigo Dellacqua rgoyta...@gmail.com wrote: Hey there, I'm trying to get started with RoR with Postgresql. I've been trying to find some information on it, but there's a lot of really OLD info on that subject! What should I do to get my application working with

[Rails] Ruby On Rails Developer (2+ years)

2010-01-11 Thread RoxyRecruiting
We are currently looking for a Ruby on Rails Developer on behalf of our client who is in social media/automotive space. They are looking for an experienced Ruby on Rails Developer who wants to be a part of a team that wants to drive real change and value. This is a fulltime opportunity located in

resolved: Re: [Rails] Re: SQL and select()

2010-01-11 Thread Sergio Angeletti - Gmail
Perfect, yes I was concentred to the map and I didnt look the execute On Fri, 8 Jan 2010 08:57:09 -0800 (PST), Frederick Cheung frederick.che...@gmail.com wrote: On Jan 8, 4:17 pm, Quijote70 sergio.angele...@gmail.com wrote:     @langs = ActiveRecord::Base.connection.execute (@sql) then in

[Rails] Question about rails modules/applications

2010-01-11 Thread Friedrich
Can anyone give me an oversight about rails applicatoin in the following areas? - bookkeeping - crm - fleet management Regards Friedrich -- 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

[Rails] Install RoR on Vista problem

2010-01-11 Thread rpd
Hi I have tried to install RoR on my Vista machine but with no success yet. First I followed the tutorial getting started at RoR website everything worked up to the home page not showing in http://localhost:3000 browser. The Windows error message is: ERRORlocalhost is not set up to establish

[Rails] Devise, Authlogic, Restful Authorization

2010-01-11 Thread Ralph Shnelvar
This is not a question but a mini-report to others who might be in my boat. My application needed/needs the ability to authenticate a login via email. There are Restful Authorization examples that claim to do this ... but I have not been able to successfully get it to work. I can get the email

[Rails] Re: Devise, Authlogic, Restful Authorization

2010-01-11 Thread Ralph Shnelvar
Ralph Shnelvar wrote: This is not a question but a mini-report to others who might be in my boat. ... I apologize to everyone for my spelling and grammar errors. I usually do a better job of proofreading. Damn, I've been up too many hours. -- Posted via http://www.ruby-forum.com/. --

Re: [Rails] Re: Ruby on Rails and Postgres - Installing postgresql gem

2010-01-11 Thread Rodrigo Dellacqua
Hey there, Thanks for all the answers so far, it seems that there are 3 gems currently working, pg, postgres, ruby-pg. But I can't get it to build, does anyone knows which libs I need to have installed? or where to check that? I currently have postgres-8.4-dev []s Rodrigo Dellacqua On Sun,

[Rails] Re: My talk at PHPcamp - CakePHP Vs Ruby On Rails

2010-01-11 Thread gautamrege
Hi Conrad, Search for #cakephp #phpcamp, @gautamrege and @phpnut - you should see even the sequence :) Indeed interesting ! - Gautam On Jan 11, 4:24 pm, Conrad Taylor conra...@gmail.com wrote: On Sun, Jan 10, 2010 at 11:56 PM, gautamrege gautamr...@gmail.com wrote: Hi,  Last week-end I

[Rails] Re: Active Record Error

2010-01-11 Thread TheAmericanMastiff
Please disregard. The solution was to re-download the site. I've got it working correctly now. On Jan 7, 9:22 am, josequinonesii jose.quinone...@gmail.com wrote: I've had to download an existing Rails project and I'm attempting to setup locally. I've installed all the 2.1.1 rails gems needed by

[Rails] utiliser deux instances de Logger (sysloglogger)

2010-01-11 Thread Ksergses Ksergses
Salut. j'utilise le gem SyslogLogger ( syslog-ng). et je veux avoir deux instances du logger (je veux avoir des fichiers de log sépares selon le logger utilisé) le probleme que le serveur ne considère qu'un seul à la fois ! j'ai mis cela dans mon environement.rb RAILS_FIRST_LOGGER =

[Rails] How to begin with developing of a web application using Ruby on Rails

2010-01-11 Thread manish belsare
hey i want to do a web application project using RoR and MySQL... can u guide me how to begin with the proj...? I hav done basic applications mentioned on technetra.com. I juzz need ur help nw relating to how to begin with project using Rails Framework.. Waiting for ur reply... Thanking you! --

Re: [Rails] How to begin with developing of a web application using Ruby on Rails

2010-01-11 Thread Curtis Schofield
Start with reading a book on ruby, read the whole book, and make small programs for each chapter. On Mon, Jan 11, 2010 at 8:26 AM, manish belsare manishbelsare2...@gmail.com wrote: hey i want to do a web application project using RoR and MySQL... can u guide me how to begin with the proj...?

[Rails] Download avatar 2009 for free

2010-01-11 Thread avatar3
Download avatar 2009 In the future, Jake, a paraplegic war veteran, is brought to another planet, Pandora, which is inhabited by the Na'vi, a humanoid race with their own language and culture. Those from Earth find themselves at odds with each other and the local culture. Download avatar 2009 --

[Rails] Re: Ruby on Rails and Postgres - Installing postgresql gem

2010-01-11 Thread Peter
This is generally confusing but here's what I think you should do: 1) Remove postgres and ruby-pg gems if they are installed; the correct, current one is pg which should be at version 0.8.0 (assuming you're on linux, this all might change on windows). 2) The library packages you're missing is most

Re: [Rails] utiliser deux instances de Logger (sysloglogger)

2010-01-11 Thread Peter De Berdt
On 11 Jan 2010, at 16:18, Ksergses Ksergses wrote: j'utilise le gem SyslogLogger ( syslog-ng). et je veux avoir deux instances du logger (je veux avoir des fichiers de log sépares selon le logger utilisé) le probleme que le serveur ne considère qu'un seul à la fois ! j'ai mis cela dans mon

[Rails] Re: Re: Ruby on Rails and Postgres - Installing postgresql

2010-01-11 Thread Marnen Laibow-Koser
Rodrigo Dellacqua wrote: Hey there, Thanks for all the answers so far, it seems that there are 3 gems currently working, pg, postgres, ruby-pg. But I can't get it to build, does anyone knows which libs I need to have installed? or where to check that? I currently have

[Rails] Re: Devise, Authlogic, Restful Authorization

2010-01-11 Thread Marnen Laibow-Koser
Ralph Shnelvar wrote: This is not a question but a mini-report to others who might be in my boat. My application needed/needs the ability to authenticate a login via email. There are Restful Authorization examples that claim to do this ... but I have not been able to successfully get it

[Rails] Re: help: self referential search

2010-01-11 Thread Aldric Giacomoni
Tom Tom wrote: hi, i have a category and a category_type model, where category is selfreferential with parent_id. now, im not 100% sure whats the best way for later purposes in terms of search etc., but my initial intention was the store the category_types_id only in the root (where parent_id

Re: [Rails] Re: help: self referential search

2010-01-11 Thread tom
thx, i went ahead and just marked the root - will see when i hot the forst roadblock;-) tom -- 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...@googlegroups.com. To unsubscribe from this

[Rails] Re: help: self referential search

2010-01-11 Thread Marnen Laibow-Koser
Tom Tom wrote: hi, i have a category and a category_type model, where category is selfreferential with parent_id. now, im not 100% sure whats the best way for later purposes in terms of search etc., awesome_nested_set, of course. :) but my initial intention was the store the

[Rails] Actionmailer and Mass Mailing

2010-01-11 Thread Serafino Picozzi
Hello, I'm having a problem with actionmailer and mass (sort of) mailing. Basically, sometimes I need to notify every subscribed user in my app by mail. Since the amout of users is very small (subscription is not public), i thought that actionmailer would be enough. When i need to send these

[Rails] Generating a path from a route with requirements

2010-01-11 Thread Martin Streicher
]+\.(jpg|jpeg|png|gif){1}/i } And I call it as courses_image_cache_path(:cache_id = '20100111-0332-76263-6402', :filename = 'letter.png' ) But the result is the path /courses/image_cache Why does the result NOT include the params? The params match, but no params in the resulting URL

Re: [Rails] Actionmailer and Mass Mailing

2010-01-11 Thread Curtis Cooley
My guess is that you need to get your email account verified with the smtp service provider to send that many emails. As far as I know, you can send up to 500 a day through gmail, so that may be an option. On Mon, Jan 11, 2010 at 9:36 AM, Serafino Picozzi li...@ruby-forum.com wrote: Hello, I'm

[Rails] Re: AuthLogic login page: undefined method `login' and `pas

2010-01-11 Thread Marnen Laibow-Koser
John Woods wrote: For the record, I believe I have discovered the problem. Authlogic absolutely requires that there be a login field of some sort in the User model -- even if you don't actually use it for logging in. No. Authlogic is smart enough to use email if login doesn't exist.

[Rails] Re: Generating a path from a route with requirements

2010-01-11 Thread Marnen Laibow-Koser
}/, :filename = /[a-zA-Z0-9_ ]+\.(jpg|jpeg|png|gif){1}/i } And I call it as courses_image_cache_path(:cache_id = '20100111-0332-76263-6402', :filename = 'letter.png' ) But the result is the path /courses/image_cache Why does the result NOT include the params? Because the route has no way

[Rails] Re: Generating a path from a route with requirements

2010-01-11 Thread Martin Streicher
', :action = 'image_cache',     :requirements = {       :cache_id = /\d{8}-\d{4}-\d{5}-\d{4}/,       :filename = /[a-zA-Z0-9_ ]+\.(jpg|jpeg|png|gif){1}/i } And I call it as courses_image_cache_path(:cache_id = '20100111-0332-76263-6402', :filename = 'letter.png' ) But the result

[Rails] Re: Ruby on Rails and Postgres - Installing postgresql gem

2010-01-11 Thread LaughingNinja
Hi, Rodrigo: What's your error? What environment are you running under? We have it working fine with a PostgreSQL dbase.I believe the gem is: pg(0.8.0). Thanks, Gary. On Jan 10, 1:55 pm, Rodrigo Dellacqua rgoyta...@gmail.com wrote: Hey there, I'm trying to get started with RoR with

Re: [Rails] Re: help: self referential search

2010-01-11 Thread tom
Hi Marnen, the idea was having a selreferential table via parent_id or lft/rgt to haev children etc.. now my point of doubts was whether to make eachtop-level record (aka a category) root r to move it into a different table and mark there the type of that category..eg categories: babysitting

Re: [Rails] Re: Ruby on Rails and Postgres - Installing postgresql gem

2010-01-11 Thread Curtis Schofield
Hey Rodrigo and All. I'm on OS X and it's not easy to get going out of the box - IIRC i usually have an issue with a postgres gem when I use ports. I'm looking into it now. What platform are you working on Rodrigo? On Mon, Jan 11, 2010 at 11:15 AM, LaughingNinja glacker...@wetdesign.comwrote:

[Rails] Re: Re: Ruby on Rails and Postgres - Installing postgresql

2010-01-11 Thread Marnen Laibow-Koser
Curtis Schofield wrote: Hey Rodrigo and All. I'm on OS X and it's not easy to get going out of the box Actually it's quite easy. Install PostgreSQL, install headers (perhaps through Fink), install gem. Done. - IIRC i usually have an issue with a postgres gem when I use ports. So

[Rails] Re: tinyint(1) and boolean

2010-01-11 Thread Jeff Lewis
I second Matt's point about potential for confusion. A boolean val implies one of two values: true or false. What you're asking for -- 1 of 3 potential vals -- seems to rule out the use of a boolean to represent that val. So, I'd recommend using some other data type. Jeff On Jan 10, 11:57 am,

[Rails] Re: How to begin with developing of a web application using Ruby on Rails

2010-01-11 Thread Duke Yamamoto
manish belsare wrote: hey i want to do a web application project using RoR and MySQL... can u guide me how to begin with the proj...? I hav done basic applications mentioned on technetra.com. I juzz need ur help nw relating to how to begin with project using Rails Framework.. Waiting for

Re: [Rails] Re: Re: Ruby on Rails and Postgres - Installing postgresql

2010-01-11 Thread Curtis Schofield
I'm glad it was easy for you. - IIRC i usually have an issue with a postgres gem when I use ports. So don't use ports! Thanks for your suggestion - I'm not in the habit of throwing something out when with some patience I can learn something new. For anyone else who's had trouble with

[Rails] Re: Mongrel to Apache

2010-01-11 Thread Jeff Lewis
For mongrel deployment behind apache, you might want to check out: http://mongrel.rubyforge.org/wiki/Apache Instead of mongrel, you may want to look at deploying via passenger: http://www.modrails.com/install.html Jeff On Jan 9, 12:05 pm, Derek Smith li...@ruby-forum.com wrote: Hi All, We

[Rails] Re: How to begin with developing of a web application using Ruby on Rails

2010-01-11 Thread seanlynch
On Jan 11, 9:26 am, manish belsare manishbelsare2...@gmail.com wrote: hey i want to do a web application project using RoR and MySQL... can u guide me how to begin with the proj...? I hav done basic applications mentioned on technetra.com. I juzz need ur help nw relating to how to begin with

[Rails] Re: Craiglist and tracking views

2010-01-11 Thread Quee WM
Seems the post was buried and might have gotten off radar. -- 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 to rubyonrails-t...@googlegroups.com. To unsubscribe

[Rails] Re: Re: Re: Ruby on Rails and Postgres - Installing postgre

2010-01-11 Thread Marnen Laibow-Koser
Curtis Schofield wrote: I'm glad it was easy for you. - IIRC i usually have an issue with a postgres gem when I use ports. So don't use ports! Thanks for your suggestion - I'm not in the habit of throwing something out when with some patience I can learn something new. Agreed,

Re: [Rails] Re: Re: Re: Ruby on Rails and Postgres - Installing postgre

2010-01-11 Thread Curtis Schofield
On Mon, Jan 11, 2010 at 2:28 PM, Marnen Laibow-Koser li...@ruby-forum.comwrote: Curtis Schofield wrote: I'm glad it was easy for you. - IIRC i usually have an issue with a postgres gem when I use ports. So don't use ports! Thanks for your suggestion - I'm not in the habit

Re: [Rails] Autotest - Can make an-install work.

2010-01-11 Thread Rodrigo Dellacqua
It should be CAN'T make, duh. Okay, after installing the gem this is what I get.. For more information on autotest_notification, see http://github.com/carlosbrando/autotest-notification/ To turn on the notifier you need to run the following command: an-install To turn off: an-uninstall

Re: [Rails] Re: Ruby on Rails and Postgres - Installing postgresql gem

2010-01-11 Thread Rodrigo Dellacqua
Hey guys, thanks for all the help on this. k lets divide to conquer. My Environment: Ubuntu 9.10 Ruby1.9.1 Postgres 8.4 I have build-essential, libpq-dev and all that already installed. The error was preventing me from installing the postgres or ruby-pg gems. Now that you mentioned, I had

[Rails] Deployment Infrastructure Stack

2010-01-11 Thread Rodrigo Dellacqua
Hello Railers, Getting on application servers, what do you guys use as your infrastructure backend? I've read a lot about it, seems like apache + passanger is the easiest to go, right now. What about nginx + passenger? What about clusters? Does all this options supports clusters? Where does

[Rails] FAILSAFE error when attempting custom POST - How do I fault find for this?

2010-01-11 Thread greghauptmann
Hi, I'm creating the file upload code in a C# web form to upload to my Rails app. When I start the upload I get the following error on my Rails server? Any ideas how I can fault find here? It could be the case the HTTP post I'm creating has a problem (it' multipart, with a file upload + some

[Rails] Re: Deployment Infrastructure Stack

2010-01-11 Thread Marnen Laibow-Koser
Rodrigo Dellacqua wrote: Hello Railers, Getting on application servers, what do you guys use as your infrastructure backend? I've read a lot about it, seems like apache + passanger is the easiest to go, right now. What about nginx + passenger Those are the two best options unless

[Rails] How to add a route to the method 'options' for each controller?

2010-01-11 Thread AJ ONeal
Currently I'm mapping all of my controllers to use the same set of http options in a controller called option map.connect '*path', :controller = 'option', :action = 'options', :conditions = {:method = :options} But I would like to know how to do something

[Rails] Re: thin server claims I don't have correct rails gem instal

2010-01-11 Thread Daniel Azuma
Gary Doades wrote: I think that the latest rack does not play too nicely with the current version of thin. I had the same problem when I updated rack to 1.1.0. After uninstalling rack 1.1.0 and reverting back to rack version 1.0.1 all worked OK again. I ran into this issue as well after

[Rails] Change default method mappings?

2010-01-11 Thread AJ ONeal
Currently these mappings are established somewhere, but I haven't found it :get = 'index', 'show' :post = 'create' :delete = 'destroy' :put = 'edit' In particular I want to add :options = 'options' AJ ONeal -- You received this message because you are subscribed to the Google Groups "Ruby on

[Rails] 501 and 405 slightly inaccurate?

2010-01-11 Thread AJ ONeal
Since Rails routes know which methods are implemented per controller, why does Allows always contain these items? Allows = POST, GET, PUT, DELETE Shouldn't the list be built by polling a method? Something like: my_controller.responds_to? :put I would think that 501 (server related) would be

Re: [Rails] Re: Deployment Infrastructure Stack

2010-01-11 Thread Rodrigo Dellacqua
What about Heroku? I don't get why being cloud-based I wouldn't need to have a cluster of web servers. Could you clarify? []'s Rodrigo Dellacqua On Mon, Jan 11, 2010 at 9:20 PM, Marnen Laibow-Koser li...@ruby-forum.comwrote: Rodrigo Dellacqua wrote: Hello Railers, Getting on application

Re: [Rails] Re: Deployment Infrastructure Stack

2010-01-11 Thread Steve Klabnik
Because the cloud is your cluster of servers. You don't deal with that problem, they do. -- 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...@googlegroups.com. To unsubscribe from this

[Rails] Weird POST/PUT behavior

2010-01-11 Thread Curtis Cooley
I used the Cleaning Up Controllers with Postback Actions recipe from Rails Recipes. Basically you replace all the edit/new/update/create methods with one method that looks like: def edit @recipe = Recipe.find_by_id(params[:id]) || Recipe.new if request.post? @recipe.attributes =

[Rails] Re: Change default method mappings?

2010-01-11 Thread Marnen Laibow-Koser
AJ ONeal wrote: Currently these mappings are established somewhere, but I haven't found it :get = 'index', 'show' :post = 'create' :delete = 'destroy' :put = 'edit' In particular I want to add :options = 'options' No you don't. You probably want :get = 'options'. Here and in your

[Rails] Render view outside of a controller/view

2010-01-11 Thread jeff_wigal
We're putting together a searchable online help site in Rails, and I'm using FastRI to full-text index some existing Rails view pages to do it. I don't want to use Sphinx or some other solution, just because it's way overkill for the 15-20 .html.erb partials I am looking to index. So... I need

[Rails] Re: Render view outside of a controller/view

2010-01-11 Thread Marnen Laibow-Koser
jeff_wigal wrote: We're putting together a searchable online help site in Rails, and I'm using FastRI to full-text index some existing Rails view pages to do it. I don't want to use Sphinx or some other solution, just because it's way overkill for the 15-20 .html.erb partials I am looking

[Rails] [JOB} Ruby on Rails Programmer - Junior

2010-01-11 Thread amwfllc
Ruby on Rails Programmer - Junior Our client, based in Austin, TX, is looking for a Ruby on Rails Programmer to join their dynamic team of experienced programmers. As a Ruby on Rails Programmer, you will perform a critical role in designing and building code for our top-secret, cutting edge suite

[Rails] Re: Capistrano deploy without irs_process_scripts

2010-01-11 Thread Marnen Laibow-Koser
Ale Ds wrote: Hi, I am reading docs to understand how to deploy with Capistrano my ROR webapps. In guides.rubyonrails.org/2_3_release_notes.html is written: If you’re one of the (fairly rare) Rails developers who deploys in a fashion that depends on the inspector, reaper, and spawner

[Rails] Re: Question about rails modules/applications

2010-01-11 Thread Marnen Laibow-Koser
Friedrich wrote: Can anyone give me an oversight about rails applicatoin in the following areas? - bookkeeping - crm - fleet management Have you tried Google? Regards Friedrich Best, -- Marnen Laibow-Koser http://www.marnen.org mar...@marnen.org -- Posted via

[Rails] HELP ON RENDER FILE METHOD

2010-01-11 Thread Newb Newb
Dear all, kindly look at the below code %= link_to image_tag(backup_configure.png,:title = view chat),{:action = open_live_file,:file_path = @file_path},{:target = '_new'} % def open_live_file #-- @backup = ChathistoryBackup.find(:first) unless @backup.nil? and

[Rails] Re: Render view outside of a controller/view

2010-01-11 Thread jeff_wigal
Thanks for your response. I'm basically building static content within an existing rails application. I can just as easily do this with straight HTML, but since this is a static site for our online documentation. I'm using ERb because the individual help documents may link to each other, or link

Re: [Rails] Render view outside of a controller/view

2010-01-11 Thread Jeffrey L. Taylor
Quoting jeff_wigal j...@referee-assistant.com: We're putting together a searchable online help site in Rails, and I'm using FastRI to full-text index some existing Rails view pages to do it. As you have found, trying to fake a controller, request, etc. is a lot of work. One possibilty is to

[Rails] [ANN] rspec 1.3.0 Released

2010-01-11 Thread David Chelimsky
rspec version 1.3.0 has been released! * http://rspec.info * http://rubyforge.org/projects/rspec * http://github.com/dchelimsky/rspec/wikis * rspec-us...@rubyforge.org * rspec-de...@rubyforge.org Behaviour Driven Development for Ruby. Changes: ### Version 1.3.0 / 2010-01-11 * enhancements *

[Rails] [ANN] rspec-rails 1.3.0 Released

2010-01-11 Thread David Chelimsky
rspec-rails version 1.3.0 has been released! * http://rspec.info * http://rubyforge.org/projects/rspec * http://github.com/dchelimsky/rspec-rails * http://wiki.github.com/dchelimsky/rspec/rails * rspec-de...@rubyforge.org Behaviour Driven Development for Ruby on Rails. Changes: ### Version

[Rails] Question on Render :file = file

2010-01-11 Thread Newb Newb
Dear Friends, I use render :file method to display html file which has images in it . The render file method not displays a HTML file with images that's exists inside public folder. Both my HTML files and images refereed are in the public folder only. Question 1: how to view that HTML file

[Rails] Re: Render view outside of a controller/view

2010-01-11 Thread pharrington
On Jan 11, 10:31 pm, jeff_wigal j...@referee-assistant.com wrote: Thanks for your response. I'm basically building static content within an existing rails application. I can just as easily do this with straight HTML, but since this is a static site for our online documentation. I'm using

[Rails] HOW TO MAP OUTSIDE THE RAILS DIRECTORY

2010-01-11 Thread Newb Newb
Wishes to all, Is there any method to display the HTML file with images outside the rails folder. Kindly let me know your views on my above question! Thanks for any helps. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups

Re: [Rails] HOW TO MAP OUTSIDE THE RAILS DIRECTORY

2010-01-11 Thread Curtis Schofield
well i wouldn't recommend it. You may be able to get FollowSymLinks in apache and make a symlink if you are on unix. Probably what you want is to set up apache with a rewrite rule to pull from a different vhost. those are both fairly complicated. On Mon, Jan 11, 2010 at 9:41 PM, Newb Newb

[Rails] Re: HOW TO MAP OUTSIDE THE RAILS DIRECTORY

2010-01-11 Thread Newb Newb
Curtis Schofield wrote: well i wouldn't recommend it. You may be able to get FollowSymLinks in apache and make a symlink if you are on unix. Probably what you want is to set up apache with a rewrite rule to pull from a different vhost. those are both fairly complicated. thanks for

[Rails] Re: HOW TO MAP OUTSIDE THE RAILS DIRECTORY

2010-01-11 Thread pharrington
On Jan 11, 11:41 pm, Newb Newb li...@ruby-forum.com wrote: Wishes to all,   Is there any method to display the HTML file with images outside the rails folder. Kindly let me know your views on my above question! Thanks for any helps. -- Posted viahttp://www.ruby-forum.com/. What exactly

Re: [Rails] Re: HOW TO MAP OUTSIDE THE RAILS DIRECTORY

2010-01-11 Thread Curtis Schofield
On Mon, Jan 11, 2010 at 10:01 PM, Newb Newb li...@ruby-forum.com wrote: Curtis Schofield wrote: well i wouldn't recommend it. You may be able to get FollowSymLinks in apache and make a symlink if you are on unix. Probably what you want is to set up apache with a rewrite rule to

[Rails] Re: HOW TO MAP OUTSIDE THE RAILS DIRECTORY

2010-01-11 Thread pharrington
On Jan 12, 12:10 am, pharrington xenogene...@gmail.com wrote: On Jan 11, 11:41 pm, Newb Newb li...@ruby-forum.com wrote: Wishes to all,   Is there any method to display the HTML file with images outside the rails folder. Kindly let me know your views on my above question! Thanks for

[Rails] Re: Re: HOW TO MAP OUTSIDE THE RAILS DIRECTORY

2010-01-11 Thread Newb Newb
Curtis Schofield wrote: On Mon, Jan 11, 2010 at 10:01 PM, Newb Newb li...@ruby-forum.com wrote: Thank u all for the reply. %= link_to image_tag(backup_configure.png,:title = view chat),{:action = open_live_file,:file_path = @file_path},{:target = '_new'} % def open_live_file #--

[Rails] Re: HOW TO MAP OUTSIDE THE RAILS DIRECTORY

2010-01-11 Thread Newb Newb
Sorry for annoying. # render :file = #{file_path}, :layout = false the html file contains images with it when i render the above html file from the public folder it shows the file in a browser window without the images displayed. why it is so?why it cant display the images ? Thanks in advance

[Rails] how to create portable rails app?

2010-01-11 Thread Ralu rm
Hi, i have a rails app which is done with instant rails, now i need to take the app to other computer and use it without migrating , that is plug and play use of that application, can anyone help with that??? plz! -- Posted via http://www.ruby-forum.com/. -- You received this message because

[Rails] Re: HOW TO MAP OUTSIDE THE RAILS DIRECTORY

2010-01-11 Thread pharrington
On Jan 12, 12:23 am, Newb Newb li...@ruby-forum.com wrote: for the above html file images are in the following path public/Server_exe/ChatHistory/2010-01-10/1~Vs~2/ScreenCapture/2120100109101 048121.jpg = this image is shown in the html file This image path is not correct. As I said:

Re: [Rails] Re: HOW TO MAP OUTSIDE THE RAILS DIRECTORY

2010-01-11 Thread Hassan Schroeder
On Mon, Jan 11, 2010 at 9:32 PM, Newb Newb li...@ruby-forum.com wrote: the html file contains images with it No, it doesn't -- it contains tags with URLs of images. when i render the above html file from the public folder it shows the file in a browser window without the images displayed.

[Rails] Re: Weird POST/PUT behavior

2010-01-11 Thread Ritchie
I haven't looked at the recipe you refer to but most browsers will only do posts. That's why Rails form helpers simulate doing a put by adding a hidden field called _method to the form which rails then checks for before passing control onto your controller. PUTs *are* supposed to be used to

[Rails] workling not working on linux

2010-01-11 Thread tvi...@gmail.com
hi, i could get workling to work on windows where it uses spawnrunner (workling-starling doesn' work on windows from what i understand). but when i try to do the same things on my linux environment nothing works. firstly, script/workling_client start doesn't do anything. if i use the -t option, i

[Rails] Re: Question about rails modules/applications

2010-01-11 Thread Friedrich
On 12 Jan., 03:55, Marnen Laibow-Koser li...@ruby-forum.com wrote: Friedrich wrote: Can anyone give me an oversight about rails applicatoin in the following areas? - bookkeeping - crm - fleet management Have you tried Google? I've not find a detailed description and comments about