Re: [Rails] friends i am a beginner in ruby on rails help me i need trier

2011-08-22 Thread Jatin kumar
u need trier On Mon, Aug 22, 2011 at 12:29 PM, sasa btechit sasa.btec...@gmail.comwrote: friends i am a beginner in ruby on rails help me i need trier -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send

Re: [Rails] Re: very odd all links show href in parentheses

2011-07-26 Thread Jatin kumar
Comment the part where you include the application.css in your application.html.erb. I had the same problem, as I was also using blueprint-css. Hope it helps. Cheers Jatin On Tue, Jul 26, 2011 at 11:52 AM, Robert Walker li...@ruby-forum.comwrote: Wojtek Augustynski wrote in post #1013139:

Re: [Rails] ROR Programmers?

2011-07-02 Thread Jatin kumar
Hi, Post your requirements of the position you are recruting for, so that people can apply for it. Cheers Jatin On Fri, Jul 1, 2011 at 8:06 PM, thiagocifani cifani.thi...@gmail.comwrote: Here I think is the best place! I am a rails programmer and I am avalable for hiring! contact me if you

Re: [Rails] Re: CanCan with Devise Invitable

2011-07-01 Thread Jatin kumar
You can make your own controller to inherit from Devise_Invitable main controller in your rails app, and then override the methods defined in Devise_invitable as per your needs. Also change the routes too, if needed. Or, you can come up with your Invitations controller, use ActionMailer and Devise

Re: [Rails] Re: CanCan with Devise Invitable

2011-07-01 Thread Jatin kumar
Happy to help. :) On Fri, Jul 1, 2011 at 6:43 PM, Walter Lee Davis wa...@wdstudio.com wrote: On Jul 1, 2011, at 8:43 AM, Jatin kumar wrote: You can make your own controller to inherit from Devise_Invitable main controller in your rails app, and then override the methods defined

Re: [Rails] PDFKit

2011-06-27 Thread Jatin kumar
are facing. Thanks a lot everyone! Hugs! @leocaminha Em 26/06/2011, às 04:05, amritpal pathak escreveu: On Sun, Jun 26, 2011 at 2:48 AM, Jatin kumar jatinkumar.n...@gmail.comwrote: PDFKit.new(pHello Brazil/p).to_pdf Sorry for interruption.I tried it to .I am using rails 3.0.7.I

Re: [Rails] PDFKit

2011-06-26 Thread Jatin kumar
PDFKit.new(pHello Brazil/p).to_pdf On Sun, Jun 26, 2011 at 12:07 AM, leoncio caminha leoncio.sobre...@gmail.com wrote: anyone uses a PDFKit to generate pdfs in rails? how i transform my PDFKit.new(pHello Brazil/p) into a pdf file? i`d try but i dont find anything about documentation how use

Re: [Rails] Create or Update Model with JSON?

2011-06-15 Thread Jatin kumar
On Wed, Jun 15, 2011 at 7:22 PM, Justin Stanczak rizen...@gmail.com wrote: Having issue updating a model with JSON. I simply *model.attributes=json *, which does update the attributes but not the id, or uuid in this case. I want to save or create the record (if it's id exists) You are

Re: [Rails] Create or Update Model with JSON?

2011-06-15 Thread Jatin kumar
On Wed, Jun 15, 2011 at 7:47 PM, Justin Stanczak rizen...@gmail.com wrote: You're saying fetch and update if it exists, or create new if it does not? That is what I'm doing. What I'm saying is when I update a new obj with json, the id does not get set. Is this not what you get? I am sorry,

Re: [Rails] Create or Update Model with JSON?

2011-06-15 Thread Jatin kumar
On Wed, Jun 15, 2011 at 8:03 PM, Jatin kumar jatinkumar.n...@gmail.comwrote: On Wed, Jun 15, 2011 at 7:47 PM, Justin Stanczak rizen...@gmail.comwrote: You're saying fetch and update if it exists, or create new if it does not? That is what I'm doing. What I'm saying is when I update a new

Re: [Rails] Listing users with Devise

2011-06-13 Thread Jatin kumar
Refer to this: http://www.tonyamoyal.com/2010/09/29/rails-authentication-with-devise-and-cancan-part-2-restful-resources-for-administrators/ and you are good to go. :) On Tue, Jun 14, 2011 at 5:43 AM, Fernando Aureliano m...@fernandoaureliano.com wrote: Someone already need to list the

Re: [Rails] REMOVE ME

2011-06-02 Thread Jatin kumar
+1 Conrad On Thu, Jun 2, 2011 at 12:06 PM, Conrad Taylor conra...@gmail.com wrote: On Thu, Jun 2, 2011 at 10:58 AM, Brian rail...@bitfoundry.net wrote: REMOVE ME To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. -- You received this message

Re: [Rails] Please help Rails project can not be created

2011-05-24 Thread Jatin kumar
On Tue, May 24, 2011 at 5:38 PM, hoboy Hoboy li...@ruby-forum.com wrote: I have just update to ubuntu 11.04. since that I can not create a new Rails project. Mark@Mark-Satellite-A300D:~$ rails new Test Can't initialize a new Rails application within the directory of another, please change

Re: [Rails] Re: undefined method `posts_path'

2011-05-22 Thread Jatin kumar
You are confusing things a lot. Answer this question first: Did you scaffold the model or you are adding the files one by one writing the code by hand. 1. If you did scaffold, I don't see a problem coming anywhere. 2. If you didn't scaffold, then go for Colin's suggestion and read the guides, you

Re: [Rails] My Problems

2011-05-22 Thread Jatin kumar
On Sun, May 22, 2011 at 7:49 PM, Umer009 umermunir...@gmail.com wrote: Hello! I want help because I love Ruby on Rails but I'm in two major problems. 1. I want to learn Ruby on Rails but because it is new, therefore, there are not enough resources. Who said so? Just google Ruby on Rails

Re: [Rails] Re: Text content must be uncopyable

2011-05-22 Thread Jatin kumar
The guy is saying that he is fine with the end users taking a screenshot of the page, but he doesn't want the users to simply copy and paste the text in txt files. I know the requirement is absurd. But, just rephrasing the question for others to have a better idea of what you want. In my opinion,

Re: [Rails] undefined method `posts_path'

2011-05-20 Thread Jatin kumar
Check your routes file for the routes for *post*. If you scaffolded the model, then there should be resources :post in your routes.rb file. If the above is not there, just add the line and you will get the routes for CRUD automatically. On Fri, May 20, 2011 at 2:22 PM, John shelfer

Re: [Rails] Exercises book

2011-05-09 Thread Jatin kumar
If you are a beginner, look for railsforzombies.com On Mon, May 9, 2011 at 6:59 PM, Rodrigo Ruiz rodrigo.ru...@gmail.comwrote: Hi, does anyone knows any good book with a lot of exercises for Ruby on Rails? I want something like a class style book, like those calculus books that you have the

Re: [Rails] Exercises book

2011-05-09 Thread Jatin kumar
exercises On Mon, May 9, 2011 at 2:24 PM, Jatin kumar jatinkumar.n...@gmail.comwrote: If you are a beginner, look for railsforzombies.com On Mon, May 9, 2011 at 6:59 PM, Rodrigo Ruiz rodrigo.ru...@gmail.comwrote: Hi, does anyone knows any good book with a lot of exercises for Ruby on Rails? I

Re: [Rails] No route matches /home/index with {:method=:get}

2011-04-17 Thread Jatin kumar
On Sun, Apr 17, 2011 at 6:46 AM, amrit pal pathak amritpalpath...@gmail.com wrote: I followed a tutorial to learn ruby on rails at http://guides.rubyonrails.org/v2.3.8/getting_started.html After creating a view and controller as script/generate controller home index and then i changed the

Re: [Rails] Re: No route matches /home/index with {:method=:get}

2011-04-17 Thread Jatin kumar
On Sun, Apr 17, 2011 at 9:28 AM, amrit pal pathak amritpalpath...@gmail.com wrote: On Apr 17, 2:59 am, Jatin kumar jatinkumar.n...@gmail.com wrote: On Sun, Apr 17, 2011 at 6:46 AM, amrit pal pathak amritpalpath...@gmail.com wrote: I followed a tutorial to learn

Re: [Rails] upgrading from Rails 2.1.0 to 3.0 the right way makes my head hurt

2011-03-24 Thread Jatin kumar
On Fri, Mar 25, 2011 at 3:18 AM, sol.manager sol.mana...@gmail.com wrote: We have an app that is at Rails 2.1.0 and our web developer has let us know going to 3.0 will cost some money. I have embarked on a personal project to see what is involved in getting from 2.1.0 to 3.0. I have the app

Re: [Rails] Re: How to install rails_tiny_mce in Rails2.3.10

2011-03-10 Thread Jatin kumar
On Thu, Mar 10, 2011 at 5:34 PM, kwiest kyle.wi...@gmail.com wrote: Jaron, I've played around with the TinyMCE plugins for Rails 2, 3 and every time I've found it to be MUCH easier to just download the files from http://tinymce.moxiecode.com/download/download.php, drop them in your public

Re: [Rails] Fragment caching and not accessing model from view

2011-03-09 Thread Jatin kumar
On Tue, Mar 8, 2011 at 4:06 PM, Colin Law clan...@googlemail.com wrote: I am using fragment caching to render a select box where the contents of the select box comes from a lengthy db query. A simplified example showing the problem is % cache 'select_box' do % %= f.collection_select

Re: [Rails] Glossary module

2011-03-01 Thread Jatin kumar
On Tue, Mar 1, 2011 at 10:13 AM, Pale Horse li...@ruby-forum.com wrote: The application I'm currently working on has a Glossary model. The Glossary table has columns for the term and its definition. The application also has Pages which have content. The content needs to highlight any words

Re: [Rails] Glossary module

2011-03-01 Thread Jatin kumar
On Tue, Mar 1, 2011 at 10:52 AM, Jim Ruther Nill jvn...@gmail.com wrote: On Tue, Mar 1, 2011 at 6:13 PM, Pale Horse li...@ruby-forum.com wrote: The application I'm currently working on has a Glossary model. The Glossary table has columns for the term and its definition. The application

Re: [Rails] Re: Glossary module

2011-03-01 Thread Jatin kumar
On Tue, Mar 1, 2011 at 11:11 AM, Pale Horse li...@ruby-forum.com wrote: Jim ruther Nill wrote in post #984685: On Tue, Mar 1, 2011 at 6:56 PM, Jatin kumar jatinkumar.n...@gmail.comwrote: I'm assuming that he wants to link them because I think there's no use just highlighting them

Re: [Rails] Re: Re: Glossary module

2011-03-01 Thread Jatin kumar
On Tue, Mar 1, 2011 at 11:37 AM, Pale Horse li...@ruby-forum.com wrote: Jatin Kumar wrote in post #984692: On Tue, Mar 1, 2011 at 11:11 AM, Pale Horse li...@ruby-forum.com wrote: itself but a glossary listing will also be available. Honestly, I'm not really sure what the best method

Re: [Rails] Re: Dropbox API

2011-02-25 Thread Jatin kumar
Where does this error come from? Can you post the complete trace message. On Fri, Feb 25, 2011 at 2:28 PM, branni ujlaki.i...@gmail.com wrote: Yes, I did. On febr. 25, 15:03, Robert Walker li...@ruby-forum.com wrote: branni wrote in post #983861: I installed the dropbox gem, and when I

Re: [Rails] 3.1.0 beta install how to ???

2011-02-25 Thread Jatin kumar
On Fri, Feb 25, 2011 at 5:03 PM, Alex Katebi alex.kat...@gmail.com wrote: Hi, I am able to install rails 3.1 using the bundler. But I can not get it install on my system gem. I am using rvm. I want to be able to create a new app using 3.1 from my system. To install it to your system

Re: [Rails] Re: 3.1.0 beta install how to ???

2011-02-25 Thread Jatin kumar
are on a different OS, replace sudo with the appropriate for administrative powers. On Feb 25, 12:05 pm, Jatin kumar jatinkumar.n...@gmail.com wrote: On Fri, Feb 25, 2011 at 5:03 PM, Alex Katebi alex.kat...@gmail.com wrote: Hi, I am able to install rails 3.1 using the bundler. But I

Re: [Rails] Re: ROR Developer

2011-02-23 Thread Jatin kumar
You have not mentioned any details about the meeting, when is the project going to start, do you want someone who is a UK citizen or not. Some details would be appreciated. On Fri, Feb 4, 2011 at 1:23 PM, Ed cs edcokest...@googlemail.com wrote: I am looking for a full time developer/coder for

Re: [Rails] How to do a puts in user.rb

2011-02-23 Thread Jatin kumar
I am still unable to understand where is the current_user working and where not? It appears like you are using nifty:authentication for authentication, post the controller method, mention the scope where it is, where are you using the helper, etc etc. and then we could help you in a better way.

Re: [Rails] Playing videos one after another

2011-02-23 Thread Jatin kumar
On Wed, Feb 23, 2011 at 4:29 PM, Ralph Shnelvar li...@ruby-forum.comwrote: Let's say I have 5 flv files that I want to play in a browser one after another. Is it possible to do this without user intervention? Is there a Jquery event that I could use to trigger the next flv to play? Where

Re: [Rails] Newbie needs help

2011-02-23 Thread Jatin kumar
On Wed, Feb 23, 2011 at 4:37 PM, Dariusz S. li...@ruby-forum.com wrote: Here are the basic instructions I was given from my teacher to complete a website... Create a web page (.html.erb extension) that displays the following: Current time and date obtained from the Time object. An image

Re: [Rails] Routing problem

2011-02-23 Thread Jatin kumar
On Wed, Feb 23, 2011 at 6:09 PM, Aegorov Egorov li...@ruby-forum.comwrote: In my app i have word model, words_controller and want create new action for word model. I create new method 'test' in words_controller, and adds: resources :words do member do put 'test' end end in

Re: [Rails] Re: Newbie needs help

2011-02-23 Thread Jatin kumar
On Wed, Feb 23, 2011 at 6:06 PM, Dariusz S. li...@ruby-forum.com wrote: So what does that mean? How do I fix it? Post the error first. I said it was a guess, I am no GOD -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google

Re: [Rails] No. of controllers

2011-02-22 Thread Jatin kumar
A simple advice, go through Rails Guides and Railscasts, even if they don't make sense right now. It will help you a lot. Trust me :) On Tue, Feb 22, 2011 at 1:43 PM, Bhasker Harihara harihara.bhas...@gmail.com wrote: Thank you Fred. On Tue, Feb 22, 2011 at 1:29 PM, Frederick Cheung

Re: [Rails] Devise or Authlogic?

2011-02-21 Thread Jatin kumar
On Mon, Feb 21, 2011 at 6:11 PM, shyam shyammohankano...@gmail.com wrote: Hi.. If you are new to rails go for authlogic. because device needs lots of customization . Devise gives you a heads up start, and its modular. Yes, it needs customization but any authentication solution would need

Re: [Rails] Re: Search logic

2011-02-21 Thread Jatin kumar
On Mon, Feb 21, 2011 at 2:48 PM, Paul Bergstrom li...@ruby-forum.comwrote: I think I'm on the right track. But I get the first post for each user, not the latest. This is what I use. Model.all(:select = *, max(id), :group = :user_id) How do get the latest? In Rails 3 syntax,

Re: [Rails] Active Record Query

2011-02-19 Thread Jatin kumar
On Sun, Feb 20, 2011 at 12:58 AM, Bharat Ruparel li...@ruby-forum.comwrote: A course has many lessons and a lesson has many topics. A topic can have a recipe or vice versa, a recipe has many topics (optional). I need to come up with the most efficient way of querying the database to find

Re: [Rails] Re: Which editor to use

2011-02-16 Thread Jatin kumar
My personal choice is gEdit...its simple, and you can add simple things like syntax highlighting, word completion etc. I don't like using IDE's like Komodo Edit, Netbeans for Rails...its better if you type them yourself in the console. Rest, its a personal choice. On Wed, Feb 16, 2011 at 6:42 PM,

Re: [Rails] Re: Like gsub but the parameter is matchdata

2011-02-11 Thread Jatin kumar
On Fri, Feb 11, 2011 at 8:02 AM, Ralph Shnelvar li...@ruby-forum.comwrote: Check this out. http://www.ruby-doc.org/core/classes/String.html#M001186 I must be blind. I see no MatchData anywhere. I see *match* which is a string ... but no MatchData. What exactly do you mean when you say

Re: [Rails] Refactoring best practices

2011-02-10 Thread Jatin kumar
On Wed, Feb 9, 2011 at 10:22 PM, Amador Antonio Cuenca sphi0...@gmail.comwrote: Hi all, I've been developing a Rails app, I almost finish so, I decided refactor my code. Here some doubts 1.- I've Job and User controllers, a user has jobs but when you create the job there isn't user

Re: [Rails] How to manage session with multiple records

2011-02-10 Thread Jatin kumar
On Wed, Feb 9, 2011 at 6:10 PM, Kunjan Batavia li...@ruby-forum.com wrote: Hi, I am new to Ruby. I want to develop one page with multiple child records associated with master record. So basic idea is to have one contact dropdown and add multiple contacts in session. After saving contact

Re: [Rails] Sessions in Rails 3

2011-02-10 Thread Jatin kumar
There you go. Everything you need to learn about sessions and cookies is right here. http://guides.rubyonrails.org/action_controller_overview.html#session http://m.onkey.org/signed-and-permanent-cookies-in-rails-3 http://oldwiki.rubyonrails.org/rails/pages/HowtoChangeSessionOptions

Re: [Rails] Like gsub but the parameter is matchdata

2011-02-10 Thread Jatin kumar
On Wed, Feb 9, 2011 at 4:54 AM, Ralph Shnelvar li...@ruby-forum.com wrote: Is there a mechanism in Ruby that works like gsub {|x| something} where x is MatchData instead of String? Check this out. http://www.ruby-doc.org/core/classes/String.html#M001186 -- Posted via

Re: [Rails] Webbots and Rails Technique

2011-01-28 Thread Jatin kumar
On Fri, Jan 28, 2011 at 9:49 AM, Owain owain.mcgu...@gmail.com wrote: My application (2.3.8) has been live for some time now and I have been getting it indexed by Google and some other bots. These bots are throwing exceptions in the application when they perform a GET request on some of my

Re: [Rails] Comment.all returns array of what?

2011-01-20 Thread Jatin kumar
On Thu, Jan 20, 2011 at 2:04 PM, bourne bour...@gmail.com wrote: I have a bad feeling asking this but I did not manage to find an answer myself :/ @comments = Comment.all @comments is an array. I can for example access comment.created_at directly, or I could do: % @comments.each do

Re: [Rails] Re: How to make this SQL Query?

2011-01-05 Thread Jatin kumar
On Wed, Jan 5, 2011 at 5:50 PM, Marnen Laibow-Koser li...@ruby-forum.comwrote: Colin Law wrote in post #972572: On 5 January 2011 17:38, Fernando Leandro fernandoleandro1...@gmail.com wrote: FROM courses I know that this question is not about rails but i need to solve this

Re: [Rails] Re: Re: How to make this SQL Query?

2011-01-05 Thread Jatin kumar
On Wed, Jan 5, 2011 at 6:10 PM, Marnen Laibow-Koser li...@ruby-forum.comwrote: Jatin Kumar wrote in post #972576: On Wed, Jan 5, 2011 at 5:50 PM, Marnen Laibow-Koser li...@ruby-forum.comwrote: certain operations. Could you name some of these certain operations where its better

Re: [Rails] Re: Re: Re: How to make this SQL Query?

2011-01-05 Thread Jatin kumar
On Wed, Jan 5, 2011 at 6:40 PM, Marnen Laibow-Koser li...@ruby-forum.comwrote: Jatin Kumar wrote in post #972585: On Wed, Jan 5, 2011 at 6:10 PM, Marnen Laibow-Koser li...@ruby-forum.comwrote: I didn't mean to use raw SQL *instead of* ActiveRecord. But sometimes ActiveRecord's

Re: [Rails] Re: installed rails 2.3.9 but keep getting rails 2.3.2

2010-12-24 Thread Jatin kumar
Yes, Colin is right. There is no need to re-install ubuntu, rather go for rvm. RVM is an excellent tool for managing ruby versions as well as your gemsets with a ruby version. Try it out. If you find rvm intimidating and troubling you, here's a way around it. Uninstall all your gems and then

Re: [Rails] saravanan

2010-12-23 Thread Jatin kumar
On Thu, Dec 23, 2010 at 12:02 PM, Saravanan Ravi saravanaar...@gmail.comwrote: Hi, I am new to ruby on rails.. i have one dought in select tag i created table name with products(id,title,price,date) Your question is not clear. What do you mean by I loaded all title name from mysql

Re: [Rails] Re: Problem with mysql2

2010-12-12 Thread Jatin kumar
Still, could someone list the difference between the old mysql gem and new mysql2 gem?? Why use the new one?? On Sat, Dec 11, 2010 at 1:44 PM, Paul Bergstrom li...@ruby-forum.comwrote: A uninstall and reinstall of mysql2 solved it. -- Posted via http://www.ruby-forum.com/. -- You received

Re: [Rails] Server problems...really Weird

2010-12-10 Thread Jatin kumar
The server I am using is Mongrel and Webrick. When Rails was showing me cached views out of nowhere, I tried both these servers( i mean, i changed the Gemfile in Rails 3.0 rc2 ) and again started the server(first time with mongrel, and second time with Webrick), the results were same. And now that

Re: [Rails] Re: Server problems.really Weird

2010-12-10 Thread Jatin kumar
On Thu, Dec 9, 2010 at 10:40 AM, Marnen Laibow-Koser li...@ruby-forum.comwrote: Jatin Kumar wrote in post #967492: My question might be very basic, so please bear with it. Q.1 suppose i created my rails app as APP1 under the directory /abc/ xyz and then I copy the entire directory

Re: [Rails] Re: Re: Remove bundler

2010-12-05 Thread Jatin kumar
+1 Marnen There is some problem which you should post here so that we can help you. Deactivating/ deleting Bundler gem sounds bad to me On Sun, Dec 5, 2010 at 11:37 PM, Marnen Laibow-Koser li...@ruby-forum.comwrote: Paul Bergstrom wrote in post #966354: [...] I get you point. Is there a way

Re: [Rails] editors available for designing for ror..

2010-11-26 Thread Jatin kumar
+1 Andre and Edmond If you are a Linux user, gEdit has a textmate plugin and and i guess a Railscasts plugin(for the same appearance as in the Railscasts by Ryan Bates). On Fri, Nov 26, 2010 at 5:49 AM, Andre Joseph Cubeta ajec4...@gmail.comwrote: +1 Edmond, hehe @Emmanuel - go for Textmate

Re: [Rails] Re: How to create a mail service like gmail using ror

2010-11-26 Thread Jatin kumar
I do agrre that Venkata you are new to web development and you want to learn RoR, and make a Gmail like web service. But before posting such a question you should do some research on your own. As usual Google is your best friend. On Thu, Nov 25, 2010 at 8:18 PM, venkata reddy

Re: [Rails] database rubygems

2010-11-20 Thread Jatin kumar
Do you have 'mysql2' gem installed?? Check your system gems or local gems if using rvm and look for mysql2 gem. I know its not there, so install it by running gem install mysql2. On Sat, Nov 20, 2010 at 4:28 AM, Aicha Aicha li...@ruby-forum.com wrote: Hi everybody!! I use rails 3.0 In my new

Re: [Rails] Use has_one or belongs_to

2010-11-13 Thread Jatin kumar
yeah...David is right. Just add a boolean field for each of the attributes i.e ceo and cfo in the employees because if you look at the picture in real world, an employee could be either an ceo, an cfo or just an employee. On Sat, Nov 13, 2010 at 11:50 AM, merckmyers merckmy...@gmail.com wrote:

Re: [Rails] Nifty_generators problem

2010-11-08 Thread Jatin kumar
Yes. WIth Rails3 on the way, the usual nifty-generators now work with a : instead of _ . So, nifty_layout becomes nifty:layout, so does with nifty:authentication and nifty:scaffold. On Sun, Nov 7, 2010 at 7:18 AM, Ainar Abramovich youhubcommun...@gmail.comwrote: Gemfile: gem

[Rails] Std. IO streams in Ruby

2010-08-01 Thread Jatin Kumar
In my rails controller, I am doing the following : @output = `g++ j.cpp -o prog ./prog` This gives the output in the @output variable which i can display in my view. But the above works only if the j.cpp is correct and doesn't expect any user input. How can I use the stdin/stderr and stdout

[Rails] Re: Std. IO streams in Ruby

2010-08-01 Thread Jatin Kumar
Frederick Cheung wrote: On Aug 1, 7:29�pm, Jatin Kumar li...@ruby-forum.com wrote: textfield where he/she can enter the input, and the program continues to In short, how can I get control of stdin, so that whenever the stdin waits for some user input, i get to know that it is waiting

Re: [Rails] File creation in jquery + Rails

2010-07-30 Thread Jatin kumar
On the server On Fri, Jul 30, 2010 at 3:31 PM, Colin Law clan...@googlemail.com wrote: On 30 July 2010 10:12, Silver Spoon jatinkumar.n...@gmail.com wrote: I am new to Rails. In my web application, the user can type the contents of a file in a textarea or a content Editable iFrame and when

Re: [Rails] Re: mysql gem migrate Unknown database '[db_development] error

2010-07-06 Thread Jatin kumar
I am not sure of why this error is coming, but just for a moment, try rake db:create before doing rake db:migrate. It might solve your problem. On Wed, Jul 7, 2010 at 12:22 AM, Oren Golan li...@ruby-forum.com wrote: I had this issue after upgrading from ubuntu 9.10 (karmic) to 10.4 (lucid).

Re: [Rails] Re: Generated By handling CRUD Scaffold

2010-07-06 Thread Jatin kumar
? Referring to my second question I could find out how. Below is the link to you in Portuguese ... http://headfirstrails.clanteam.com/blog/category/rails Best Regards... Adriano Dias da Silva On 4 jul, 16:34, Jatin kumar jatinkumar.n...@gmail.com wrote

Re: [Rails] Generated By handling CRUD Scaffold

2010-07-04 Thread Jatin kumar
Regarding your first question, You can't specify the size of the field while you are writing the scaffold command in the command prompt. But, there's a way you can do that. Scaffolding makes a migration file for you, which actually makes the table for your model. You will find your migration file