similar to: where to put non-rails module in Rails tree?

Displaying 20 results from an estimated 50000 matches similar to: "where to put non-rails module in Rails tree?"

2012 May 22
2
Announce: Hiera-Puppet 1.0.0rc1 Available
Hiera-Puppet 1.0.0rc1 is a feature release candidate designed to accompany Puppet 3.0 and Hiera 1.0. It includes Puppet functions for hiera and also the puppet backend for hiera lookups. Downloads are available: * Source http://downloads.puppetlabs.com/hiera/hiera-puppet-1.0.0rc1.tar.gz * Apt and yum development repositories * Apple package
2006 Nov 10
2
Testing with foreign keys
I''m looking for a plugin/whatever for preloading fixtures, to run tests with FKs defined. Specifying load order just doesn''t work for me, I need to purge the test db, load all fixtures, and only then create the FK constraints. Any suggestions? Isak --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups
2006 Jun 28
8
[OT] rimuhosting and VPS experiences wanted
All - I am considering signing up for hosting at rimuhosting for rails, PHP, and email, and would like to hear some personal experiences with their service, especially compared to shared hosting services like Dreamhost. Please email me off-list at ken.liu.pub [at] gmail.com. Thanks Ken
2006 May 12
9
Version control for deployment?
If I can get root access, I''ll use version control for deployment as well... It beats ftp and scp hands down for speed. Setting up a repository on a remote server means I get automatic off-site backup as part of the development cycle, and deployment/site update is as simple as a three word command line entry. Small changes on remote test sites can be made with Vim (or your *nix
2009 Apr 06
4
R package: Where to put code to Run Once Only?
Is there a specific place where we can place code to run once only in a package? I have code that switches based on Sys.info()[["nodename"]] - but since this just about never changes, I would like to run it only once when someone runs: require( mypackage ) or library( mypackage ) I'm tempted to have some free-floating code in global space (in one of my package's .R files), but
2018 Mar 22
1
How to extract functions from Module A and put them into Module B, and generate a new IR file?
Hi all, This is Michael and very happy to share my question here! My question is, is there a way to "extract" a function from Module A and write it into another Module B, and generate two new IR files? IRBuilder seems like a workable way but I have to create instructions one by one. I am new to LLVM so don't know whether it is doable, here is my experimental code:
2006 May 15
3
where do I put this test?
I''m trying to use TDD on a Rails app. So far (6 hours into it) things are going well. My data model is starting to get a little more complex now. I now have two related tables and I want to make sure my tests cover input validation, record creation, and the proper creation of the foreign key. Do I put this into a test unit for the parent table''s model? Or do I test this
2006 Aug 10
0
Not your basic "Where to put non-rails stuff" question
Hello, I''m not that clear on where some things go - and would rather put them in the right place out the gate than go back and fix them. I''m working my way through several Ruby/Rails books I got from O''Reilly - with a particular project in mind - and that project presents some not-so-typical requirements. I want to have a rails-based web-app to gather data, and
2006 Jul 20
4
SVN rails problem
My rails project is at version 52. I want to revert the whole app to version 50, effectively ignoring v 51+52 I ran "svn update -r 50" in my working copy. Success. I have done some work on version 50, but when i try commiting it tells me that the file im commiting is out of date. DOes anyone know the solution? Thanks Chris -- Posted via http://www.ruby-forum.com/.
2006 May 10
3
development and production running simultaneously?
I''d like to be able to run both development and production as follows: www.mysite.com will be running production dev.mysite.com will be running development It should run the same code base. The server is RedHat Enterprise 3, Apache, FastCgi. My problem is I don''t know where to set the environment so the application bootstraps depending on the virtual host (www/dev).
2008 Dec 25
2
rake doc:rails -- fails.
rake doc:rails fails with: Don''t know how to build task ''vendor/rails/railties/CHANGELOG'' How to fix? Rails 2.2.2, Rake 0.8.3. Thanks, Ken -- 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
2007 Oct 07
7
Ruby on Rails on WAMP
I am using WAMP(windows, Apache, mySQL and PHP) for my web development. So I have already MySQL and Apache working. Could any one tell me how to install Ruby on Rails on this environment? Can I just put ror in the root directory, www? A newbie needs your help. :-) -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because
2006 May 25
4
Driving Rails from disk instead of SQL.
Skipped content of type multipart/related-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://wrath.rubyonrails.org/pipermail/rails/attachments/20060525/eac5b0af/attachment.bin
2006 May 10
12
how best to implement lookup table?
Hi all - I''d like to implement a lookup table in my app that contains some reference data, just some status codes and their descriptions. What''s the most appropriate approach according to the "rails way" of doing things? Would I just implement a has_many relationship? Let''s say these are Order status codes, would the StatusCode have many Orders? This
2006 May 19
7
AR transactions and isolation levels
I''m trying to create a sequence with no gaps in my db (contrived example, but should work out the same as my real one), and believe db-managed transactions are the way to go about this. It''s my first real ''go'' at transactions, so I may be mistaken about how things really work. Anyway.. Consider this example code: Class Invoice < ActiveRecord::Base def
2006 Jun 28
3
how do I validate currency format if I am storing in cents?
Hi all - To avoid floating point issues, I''ve decided to store monetary values in cents in the database. However, the user will enter these in dollars and cents. Two questions: 1) How do I do the validation for the currency format? It looks like ActiveRecord truncates the cents since it thinks the field type is a Fixnum. Am I forced to do validation in the controller? 2) Where
2007 May 15
4
Need help with singleton worker
We have a fairly expensive task that we''d rather not schedule too many instances of in parallel. Couldn''t get pool_size to limit the amount of workers, and I figure that''s hardly optimal anyway, so would like to have the work queued up for a single named worker instead, running as soon as possible. Using MiddleMan.schedule_worker() with :job_key does start off a
2011 Dec 06
3
Riak on Camping
Good day, does anyone here have a clue on how to make use of the NoSQL database "Riak" with Camping? I am building my website and Riak seems like pretty much the ultimate database! This would probably ruin every little feature in ActiveRecord, I don''t think I''d be able to do any has_many''s or belongs_to but I''d LOVE to be proven wrong. As far as
2009 Feb 20
1
how can I disable the rails logging in development?
I can''t seem to disable rails logging when using Mongrel. Any fix for this? Also unanswered on the Rails forum: http://www.ruby-forum.com/topic/109422#784596 Re: how can I disable the SQL logging which occurs in develo Posted by Greg Hauptmann (Guest) on 29.05.2007 21:22 You''re exactly correct Isak! Thanks. The logging functionality worked as it should in webrick. Is seems
2006 May 16
5
rake aborted when adding a column
I''m having a silly little problem with migrations.  All I''m trying to do is to add an SSN column to my Employees table.  I generated a migration which looks like: class AddSsn &lt; ActiveRecord::Migration def self.up     add_column :employees, :ssn, :string end def self.down     remove_column :employees, :ssn   end end When I run this, however, I get: &gt;rake