similar to: Strange error message when rendering the scaffold form

Displaying 20 results from an estimated 1000 matches similar to: "Strange error message when rendering the scaffold form"

2010 Sep 06
2
Background Task: How to?
Hello everyone, my app is Twitter based, and all I have to do is get the tweets of a given user and retweet it in other twitter profile.. so when user1 tweets, user2 must automatically retweet. I think I must write some background job to make this work but I don''t know how? Any ideas? Any gem intended for things like this? Thanks! -- You received this message because you are subscribed
2011 Mar 15
8
Problems with Object#id deprecation
Hello everyone, in a test helper in my app I call category.id that gets the id of category in the database. However, when running RSpec I get the following error: As a parla customer /Users/saulolopes/code/parla/spec/acceptance/support/paths.rb:13: warning: Object#id will be deprecated; use Object#object_id /Users/saulolopes/code/parla/spec/acceptance/support/paths.rb:13: warning: Object#id
2011 Feb 15
5
Path and Url
Hello everyone, what''s the real difference between root_url and root_path in Rails, for example. Apparently both lead to the same route in the application. Thanks! -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To
2010 Aug 01
4
Admin interface for Rails?
Hello folks, I am currently working on a project that has to deliver an admin interface like the Django''s one, I wanna know if you know/ recommend any gem or plugin for that. Cheers, Rodrigo Alves Vieira -- 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
2010 Sep 21
3
Options for .rspec, or a verbose mode?
Hello everybody, in my app, (using rspec 2.0.0.beta22) I have my .rspec file with "--colour" in it., I want to know if are there any other options for this file? And I wanna know if is there a verbose mode of running my specs, listing their ''describes'' and/or ''its''? Thanks!
2009 Sep 01
4
Passenger problem
I''ve used the Slicehost Intrepid instructions (http:// articles.slicehost.com/ubuntu-intrepid) to install a new Ubuntu server with Ruby, Rails and passenger. Everything seems to be working OK, save for one thing: my application only service up the files that are in its public folder. The Passenger gem is installed. I''ve done this whole process before without any problem. Any
2009 Dec 14
5
Too many methods in the model? Extra lightweight logic layer?
Hi, Given the convention of fat models to handle business logic, is there a point where you might be justified in using a separate plain ruby object(s) to orchestrate certain business logic interactions, essentially a middle layer between your controllers and models for high level functions? If you look at the InventoryTransaction model below you will see the sort of methods I mean. In this case
2008 Nov 18
3
Code changes are ignored due to code minor ver. were cached
Hi there! I study Ruby on Rails and met a problem. I placed a class definition code for class which is NOT a Model into separate file, assume MyToolClass.rb Then I started working on controller code and required ''MyToolClass'' While working on controller code I also corrected some code in MyToolClass.rb, but it seemed, that changes in MyTooolClass.rb were ignored by Rails until
2008 Nov 04
3
Nester Resources, Routes and Class Inheritance
Ok here''s a quicky... but a goody :) We have models Company, Reference and Applicant... and References and Applicants just inherit from Company, and are basically companies with the type field set to reference... All companies can have a phone number associated with them, and phone number is a different model... I''m having trouble using the form_for method with a company that
2008 Sep 19
7
Non-Ruby REST client for Ruby REST server
Hi, I have a Rails 2 app and I wand to provide an API for 3rd party applications written on any language the customer uses. My thoughts are that the best way of providing it is by taking advantage of rails RESTfulness and let them perform CRUD actions on my data through it. But I don''t seem to find many information on how to achieve this. I first want to develop .NET clients (or web
2010 May 20
5
Problem with installation of Rails 3
Help me out guys.... While installing rails 3 i got the following message :~$ sudo gem install rails --pre Successfully installed rails-3.0.0.beta3 1 gem installed Installing ri documentation for rails-3.0.0.beta3... File not found: lib My gem list :~$ gem list *** LOCAL GEMS *** abstract (1.0.0) actionmailer (3.0.0.beta3, 2.3.5) actionpack (3.0.0.beta3, 2.3.5) activemodel (3.0.0.beta3)
2008 Aug 27
6
Restful routes
Hi, I''m pretty new to the concept of restful routing and am struggling to find any rails 2 info that helps with what I''m looking for. I have a regular scaffold setup and the routes are setup as default map.resources :pages I would like to be able to use titles in the url rather than relying on the id. Eg localhost:3000/pages/sometitle instead of just localhost:3000/pages/1
2016 Aug 24
3
Possible IMAP IDLE bug in Dovecot 2.2.18 and 2.2.25
On 23 Aug 2016, at 15:08, cleber-listas at inetweb.com.br wrote: > > Hello Guys, > I guess that I found a bug in Dovecot 2.2.18 and 2.2.25 versions. The > problem it's when I try to connect in a Dovecot used a proxy to another > e-mail server (in our case it's a Smartermail Server) the DoveCot send a > lot of IDLE commands to the destination server. With that, the LOG
2010 Jun 22
1
How to implement a user score by activity
Hello everyone, I gotta start an app that have to give icons to users conform they use the application. For example, a user has bought 10 products so he gets icons symbolizing his activity. A user who has bought 5 items has 2 icons and a user who bought 15 has more. The more the use the app, the more the icons they get. My doubt is, how to implement this? Does anyone have a solution, I
2016 Aug 23
2
Possible IMAP IDLE bug in Dovecot 2.2.18 and 2.2.25
On 23.08.2016 15:08, cleber-listas at inetweb.com.br wrote: > Hello Guys, > I guess that I found a bug in Dovecot 2.2.18 and 2.2.25 versions. The > problem it's when I try to connect in a Dovecot used a proxy to another > e-mail server (in our case it's a Smartermail Server) the DoveCot send a > lot of IDLE commands to the destination server. With that, the LOG files >
2008 Sep 19
1
Freezing Rails to 2.0.2
Hi, I am using Rails 2.1.1 to stay in touch with the latest. I need to freeze the rails to version 2.0.2 for a project. But... The command in Rake tasks for Freeze allows only to freeze for the latest version I am using Netbeans 6.1 and familiar with tools only... Not much familiar with Console currently. Is there any facility in that allows me to freeze to older versions. Thanks -- Posted
2008 Oct 16
1
Modularisation: Using helper generating HTML output vs. using partials
Hey, I''ve got a general question: when do I use helper and when I do use partials to modularise certain gui elements? For example: I''ve got a faq list. Each item can be folded and unfolded using ajax. FAQ foo -> question 1 -> question 2 -> question 3 So, I wrote a helper "faq_li_tag(args)" which takes the question and answer for parameters and generates the
2010 Jul 04
3
Generated By handling CRUD Scaffold
Good afternoon. I have two questions: First question: Can be defined at the time that I''m generating the scaffold the size of a string? For example name:string (50)? Second question: I wonder how to proceed correctly to include new fields starting at a CRUD generated by scaffold. Example: First step (I use): script/generate scaffold User name:string login:string Second step (I add
2008 Nov 19
2
Where should I put "prerequisite logic"?
Hi there, I have this model called InventoryItem. Every time an InventoryItem is created (through the CharactersController and the create_item action) I need to update others tables and make lookups in other tables, to check if the Character has the prerequisites to actually create the InventoryItem. My problem is that I cannot seem to find a good place to put this logic. I''ve tried to
2009 Aug 06
20
Changing from database sqlite3 to mysql - windows
Hi Guys I''d like to know how to change from using sqlite3 to mysql. I''m running windows xp. What is the command that I must type under my application folder? How to I log into the mysql database afterwards? My database.yml file contents at the moment are: # SQLite version 3.x # gem install sqlite3-ruby (not necessary on OS X Leopard) development: adapter: sqlite3