similar to: ActiveRecord without database

Displaying 20 results from an estimated 500 matches similar to: "ActiveRecord without database"

2006 Apr 26
10
ANN: svn_conf generator -- making "svn import" easy and fun
Rails make it easy to start a new application. At the same time, import a new project into Subversion is not that simple -- there are quite few files that should be ignored. I used to manually remove added log files and tmp/cache, tmp/sessions, tmp/sockets files after the import and then go through the painful process of setting svn:ignore properties. There is an easier way -- simply
2006 Apr 28
2
["acts_as_authenticated"] << "Role-Based Authorization Rails Recipe"
hi guys, has anyone here implemented role based authorization from rails recipes into acts_as_authenticated ? how''s it going? Case: there is ONE admin. And MANY users. Admin is the only one who can create, edit, delete user, etc.. users also need to login, but go to different pages. do you guys think it''s good to try rick''s acts_as_authenticated + chad''s
2006 Apr 12
1
rails api for dashboard widget like ruby rdoc widgets
hi guys, has someone here implemented rails api for dashboard widget like ruby rdoc widget? http://www.apple.com/downloads/dashboard/developer/rubyrdocwidget.html -- sig "kind regards" :name => " Arie Kusuma Atmaja ", :callme => " Arie ", :ym => " riyari3 ", :email => " ariekusumaatmaja@gmail.com ".chop!, :blog => "
2006 Mar 12
1
alias_method interferes ApplicationHelper
Hello, I''m using Ruby 1.8.4 (darwinport), rails-1.0.0 (gem) , Powerbook / Mac OS X 10.4.5 , Webrick. How come Rails always raises NoMethodError for my helper (must_fill and rp or number_to_currency_rp) in application_helper.rb ? I doubt that alias_method is the culprit, but if i give # comment then there will be no errors at all ... :/ what am i doing wrong? is it a bug or stupid me? Thx
2006 Feb 22
3
OT: svn installation tutorial
Hello friendly Rails community, I''m sorry for this OT post, I''ve just switched to Mac and as I see there are so many friendly mac users here, may I ask is there another good/nice Subversion installation tutorial instead of this one: http://developer.apple.com/tools/subversionxcode.html? Is there another way to install it without compiling Subversion by myself? For example via
2006 Apr 24
1
search recipe
I was able to follow the search recipe in Chad Fowler''s upcoming book but I''m wondering if there is any sort of recipe/guide out there to actually perform the search once the auto-complete does its stuff. Anyone? It''s kind of hard to search for search.. -- Posted via http://www.ruby-forum.com/.
2005 Jul 24
1
international version for number_to_currency ?
bryce benton wrote: > number_to_currency(1234567890.506) => $1,234,567,890.51 BTW agile book does mention this .. will this number_to_currency(x) be internationalized ? or i can set it to Indonesian for example (or to any other languages rather than just English) ? -- Salam hangat, <%= Arie %> | http://blog.riyari.com | Y!: riyari3 email: ariekusumaatmaja_at_riyari_dot_com
2006 May 12
3
file_column error
Hmm, I''m using file_column and going by this tutorial, the files upload ok and I can see the fields updated in the database, but I am getting this error: "Trying to access file_column, but primary key got lost." Thanks in advance -- Posted via http://www.ruby-forum.com/.
2006 Jun 25
3
Dummy field in a model
I want to have a field in model, which I''m not storing in a database. And I want to do something like the following in the model code : validates_format_of :field_NOT_in_db, :with => session[:field] How can I do it ? Thanks, Pratik -- rm -rf / 2>/dev/null - http://null.in
2006 May 31
7
How to render from with <%%> ?
I have a loop that I iterate through in my view. <% coll.each do |itm| puts(itm.value) end %> How do I render the itm.value without using a <%= %> tag? Should puts not work? Joerg P.S. There is a good enough reason for me wanting to do this :-) -- Posted via http://www.ruby-forum.com/.
2006 Mar 01
5
validations without AR - going crazy trying to find link
Hi, in the past few months someone posted an entry on their blog about how to do validations in non-AR classes and I cant find it any more. Anyone have a link? Thanks, Trevor -- Trevor Squires http://somethinglearned.com
2006 May 12
12
Anyone tried the recent Mac OS X Security update?
It includes a patch for Ruby. I have already installed 1.8.4 from source, and updated my PATH to look in /usr/local first, so I don''t imagine that anything Apple does to "their" copy of Ruby will have any impact on me, but I''m wondering if the changes to their Ruby is something that needs to be done to 1.8.4 as well. Thoughts? Walter
2006 May 04
14
Rails Reference 1.1.2
As part of my 3 day training course on Rails, I hand out a 24 page "short reference" of Rails. It''s collection of the most used calls, methods, functions across a wide range of Rails functionality. I have released it under a Creative Commons license, so feel free to grab it and use it and improve it. It''s a bit rough around some of it''s edges, and I
2007 Jul 24
4
Rspec on rails with out database?
Hi all, I am trying to use rspec_on_rails in a Rails app that doesn''t have a database. so far I have just been faking it out by dumping in a sqlite3 database just to make Rails happy. I was using for test::unit a rake task that eliminated the calls to database prep: # Added this .rake file to keep Rake happy without a database. # Remove once a database is in the picture.
2006 Apr 17
20
Rubricks - CMS on Rails
Hi list, I made an open source CMS powered by Rails, named Rubricks. I have a web page for Rubricks. You can download it or view a flash demo there. Please try them and feed me back, like bug report etc. Check it out at: http://rubricks.org/index_en.html Thanks. Shouta
2006 Mar 23
8
The fastcgi crash after few hours
I have this configuration on my server - Windows 2000 server - Apache 2.0.55 - MySQL 5.x - Rails 1.0 For the moment I have a rails app that run on Apache with fastcgi. After some hours i use the application the fastcgi go down and so the web app is so slow (with cgi). The error in RAILS_ROOT/log/fastcgi.crash.log is: [23/Mar/2006:09:11:23 :: 5668] Ignoring unsupported signal USR1.
2006 Jan 29
15
Reload the lib directory
Im writing a module in the lib directory. If I change the module, the changes are not visible to the application when i releod the web page (i am in the development evironment). I must restart the web server (WEBrick) and so i see the changes... but I lost more time. How can I reload the module in the dirictory lib, without reload WEBrick? Thanks so much --Reis -- Posted via
2006 Feb 15
7
Ackbar - ActiveRecord Adapter for KirbyBase
= About Ackbar Ackbar is an adapter for ActiveRecord (the Rails ORM layer) to the KirbyBase pure-ruby plain-text DBMS. Because KirbyBase does not support SQL, joins or transactions, this is not a 100% fit. There are some changes to the ActiveRecord interface (see below), but it may still be useful in some cases. = URIs Ackbar: http://ackbar.rubyforge.org KirbyBase:
2006 Apr 05
4
distributing rails apps for localhost usage
Has anyone come across any interesting ways to make rails apps easily distributable to run on a local machine. I''d love to be able to "bundle" my rails app into a single file that would contain a simple webserver, database and my rails app which a non-experienced user could then download install on their machine, go to a web browser and run the app locally. I envision it
2008 Mar 16
2
CentOS 5.1 single (server) CD ??
Hi, Any chance of a CentOS 5.1 single server CD similiar to the one for 4.4? That CD wa very useful for 90% of the instals that I've been doing and whatever extras were needed were eaily added through Yum. Chas. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.