similar to: please help: "undefined method ''updated?''"

Displaying 13 results from an estimated 13 matches similar to: "please help: "undefined method ''updated?''""

2010 Jan 27
1
around_filter and with_scope
i got two controller (with restful actions) where my code is quite ugly and not very dry. every action looks quite like this: if @logged_user.has_role?("admin") User.find(params[:id) else @logged_user.group.user.find(params[:id]) this is a security check that enforce a simple spec: normal user should read/write information only about their group''s users, but
2005 Dec 17
2
Testing flickr
Hi, I watched the flickr demo video some days ago and I was impressed of Rails so I decided to test it my self.. I put it on my web server on windows (Apache2/fcgi/Rails1.0). All works well but I have this in my log: Processing FlickrController#search (for 127.0.0.1 at 2005-12-17 15:00:02) [POST] Parameters: {"commit"=>"Find", "tags"=>"flower",
2005 Dec 19
1
Question about rjs templates
Hi everyone I read some support about rjs templates at http://www.codyfauser.com/articles/2005/11/20/rails-rjs-templates but when i download the rails1.0, i could not find the code in http://dev.rubyonrails.org/changeset/3078 ,and i also could not find the file actionpack/test/fixtures/test/delete_with_js.rjs is something wrong with me.thanks for your answers. -- Posted via
2006 Jan 28
1
RailsCron 0.2 questions
Hi all, I''ve set up RailsCron to send email reminders on a daily basis. My dev environment is Rails trunk on Debian Sarge, lighttpd running as a regular user. I''m having two issues: 1) When I run "rake cron_start", I get rake aborted! undefined method `blank?'' for "":String The "blank?" method is provided by Rails, so I''m
2006 Mar 22
5
Class Caching Problem [was Newbie Question about Custom Classes]
So any other ideas as to why my custom class under app/models is being cached even though all the caching is set to false in the config/environments/* files? Currently I''m having to restart WEBrick after EVERY change to the file. The controllers and views are reloading just fine and not being cached. It''s just the custom class I created that''s being cached. Any ideas
2003 Sep 24
1
Graph window is not available any more
Hi all, I have currently been using the book Modern Applied Statistics with S from Venables and Ripley. At chapter 6 on Linear Statistical models I wanted to produce the plot as shown by "Figure 6.1" using Whiteside's data. xyplot command seems not to work on my version of "R"(version 1.7.0) running on different environments (Win XP, Win 98 and Win 2000). I then used the
2006 Apr 05
0
problem upgrading app to RoR1.1
Hi, I need some help when upgrading one aplication made on rails1.0 to rails1.1 I have the application on a debian sarge i upgrade ruby gems to 1.1 and ruby to 1.84 and make an freeze on proyect folder, but when i try to run the application in production mode gave me these errors: [Wed Apr 05 13:49:09 2006] [error] [client 99.5.0.45] file
2006 Mar 29
0
freeze_gems broke my app
WinXP/ruby1.8.4/rails1.0. did a "rake freeze_gems" and got: ------ Freezing to the gems for Rails 1.0.0 rm -rf vendor/rails mkdir -p vendor/rails The filename, directory name, or volume label syntax is incorrect. The filename, directory name, or volume label syntax is incorrect. The filename, directory name, or volume label syntax is incorrect. The filename, directory name, or volume
2006 Feb 07
0
Article: Fun with STI
http://kylemaxwell.com/articles/2006/02/06/fun-with-single-table-inheritance I wrote an article about how to use rails and single table inheritance to implement multi-page web forms with incremental validation. I''m looking for any feedback, and I hope that the development technique is useful. I just ran through the tutorial myself, and everything is working for me on my
2006 Jan 15
0
File field
I have a very simple form with only an Input of type file <%= file_field "image", "file" %> whenever I choose a file and click on "Create" I get the following error "No such file or directory" checking the parameters values show that a slash has been added to the file path and name the file I chose = C:\1.jpg what Rails is telling me it
2005 Dec 15
0
Deploying to production advise
Hi, We are getting ready to deploy our rails app to production. We have chosen Suse Linux + lighttpd 1.4.8 + rails1.0. Can you guys comment on running such a production server regarding perf and maintenance ? What are some of the gotchas we might run into ? Thank you all -- Posted via http://www.ruby-forum.com/.
2006 Jan 06
8
How do I write a generator?
I''d like to take some advice and write a generator to change the scaffold.css. How do I do that? I looked on the wiki and googled it but have not found anything yet. Any help would be much appreciated. bruce
2007 Oct 26
2
msvcpXX.dll - It is legal to deploy with own applications?
msvcpXX.dll - It is legal to deploy with own applications? My own Delphi applications doesn't need it but Firebird's client software needs it. Regards. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.winehq.org/pipermail/wine-users/attachments/20071026/29b86120/attachment.htm