similar to: postgres schemas as rails envs

Displaying 20 results from an estimated 7000 matches similar to: "postgres schemas as rails envs"

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 Jan 24
14
engines
This page: http://www.rails-engines.org/download makes it sound like SVN is optional for using engines, but when I try to run the second command ("ruby script/plugin install engines"), I get the NoMethodError on nil as described in the second issue reported here: http://www.rails-engines.org/wiki/pages/Engines+plugin%3A+Known+Issues So, which is it? Do I have to have SVN installed
2006 Feb 23
12
Showcase On Rails CMS v0.1
I built out a simple CMS for websites that rely heavily on portfolios. This covers graphic and web designers in particular, but also other people with stuff to show off. It''s really easy to customize progressively, so that some people will only modify CSS, but others will dig deeper into Javascript behaviors and the Rails view code. Check it out at http://showcase.kylemaxwell.com/ SVN
2015 Mar 05
1
Authenticating other services against AD - PAM and Postgres - dedicated user
Hi! I've got a samba4 pdc, fileserver and whatnot running now for a few months, a number of users logs in there daily, everyone seems quite happy about it going. I've migrated my environment from samba3 NTdomain, where I had LDAP backend for users and I used that to authenticate other services against it: like pam on other servers and postgres DBs. I have succesully managed to do this as
2006 Jan 31
19
Best Practices: Escaping text on input or output?
In web applications that have user generated content, it is clearly necessary to provide some ability to ''escape'' user generated text to avoid SQL injection, XSS, and other nasty attacks. The existing dogma on this point seems to favor escaping text as it comes out of the database, rather than doing it on the way in. I''m not sure that I understand the logic behind
2006 Mar 01
9
ajax doesn''t show at the right place
Hi, I use link_to_remote to create a link to trigger an ajax, things work fine, a new rhtml is created, however, the newly created rhtml doesn''t replace my old zone, it shows instead on top of my old zone...Does someone know why??? my code is like <table> <tr><td colspan="2"><a href="#" onclick="new Ajax.Updater(''zone1'',
2007 Jun 07
0
How to use Postgres schemas in Rails app to separate data
Rails/Postgres Gurus, Question: Is it possible to use Postgres schemas within a Rails app to separate tables and data between two different apps? Problem Set: I am thinking of combining two apps. I want to share some data (certain tables) between them, but I want the migrations and other activities to be separated. I don''t want any table changes in one app to impact the other.
2005 Jun 27
9
FK constraints overrated?
Hello folks, I use to think that a relational databases without foreign keys constraints enforced strictly by the RDBMS were no good, piece of crap, data junk. However, I''ve also learned the hard way that FKs constraints imposes serious difficulties when moving data around, specially between different DBs, or for loading test data or for upgrading DBs schemas, or for porting DBs
2010 Jan 25
3
question on sqldf syntax
trying to structure sql to merge two datasets. structure follows: dbs.possible.combos (all possible combinations of dates and places) Date Place 1/1/10 N-01 1/1/10 S-02 1/2/10 N-01 1/2/10 S-02 etc... dbs.aggregate (the raw data aggregated by date and location) Date Place Days 1/1/10 N-01 6 1/1/10 S-02 10 1/2/10 S-02 5 Trying to merge so I look-up the values for each possible combo dbs.final
2006 Mar 25
12
Newbie question about database consistency
I''m a newbie for RoR, and also web dev and database design (but been doing C++ apps for years). I''m trying to learn to use RoR and mySQL by doing a toy project. What I''m trying to do is a web base reservation app for lab machines. I have a number of machines, each can be reserved on hourly basis. So I set up a the following tables: users, machine, reservations. The
2006 Feb 07
3
ActiveRecord for kirbybase?
I''ve found vague mentions of various attempts at creating an ActiveRecord adapter for the KirbyBase pure Ruby DBMS, but nothing which looks like it''s actually working. Anyone know of such an adapter that is functional and available? b
2010 Jun 21
2
Return value associated with a factor
I am using the code below to extract census tract information. save.tract$state, save.tract$county and save.tract$tract are returned as factors. In the last three statements, I need to save the actual value of the factor, but, instead, the code is yielding the position of the factor. How do I instead return the value of the factor? By way of example, for Lon=-82.49574 and Lat=29.71495, the code
2006 Jan 30
5
url for image in css
Hi, I''d like to call a background image for every item in a list. Something like div#nav li.submenu {background: url(dropmenu.gif) 95% 50% no-repeat;} the image is in public/images/dropmenu.gif Thanks, Peter
2006 Jun 03
2
looking for radrails devs
I just got an email update on a radrails bug that I submitted a while back... Unfortunately, it''s just stupid spammers. So, I tried to go to the radrails trac to delete the spam or at least report it, and their trac is puking python errors (including environment information) all over the page! I can''t seem to get to any pages with any contact info, so I''m trying
2006 Jan 31
5
Rails auth systems using LDAP?
Hi everyone, Are there any Rails systems that are either: * Easily extensible to use a different auth store? * Use LDAP out of the box? Thanks, Sean
2020 Feb 07
2
prioritizing aggregated DBs
Hey all, I've been using ->add_database for a few years to tie sharded DBs together and it works great. Now, I want to be able to search across several DBs which aren't sharded, say: linux-DB, glibc-DB, freebsd-DB. I want to search for something across all of them, but prioritize results to favor one or some of those DBs over others. Is there a way to do that without reindexing? Or
2007 Dec 03
4
RSYNC
If I try: rsync -lptgoD -e "ssh -i /root/.ssh/rsync-key" --verbose --exclude="/*.*" --exclude="*.xml" --include="+ */Tariff/" 192.168.1.1:/home/e-smith/files/ibays/frogs/files/dbs/ rsync lists the correct files, but if I add the destination like this: rsync -lptgoD -e "ssh -i /root/.ssh/rsync-key" --verbose --exclude="/*.*"
2006 Feb 12
9
CSS in Views
How can I link to a CSS file in one of my view files? -- Posted via http://www.ruby-forum.com/.
2006 Apr 18
2
Connecting to multiple databases with multiple database users
Hi everyone, I was wondering what the common practice for handling multiple db users with fine grained privileges on multiple databases is. Against the often read guideline for rails users to keep with a single db as "more dbs don''t really make sense anyway", my opinion is that it DOES make sense to use more than one db schema for a number of reasons that I won''t
2007 Mar 25
3
Session is nil inside model
I''m tring to write a little function to indicate if a user is able to pay an invoice, I have my invoice model with: def canPay? if session[:user].id == self.consumer_id return true; else return false; end end as a method, but it gives the error: "undefined local variable or method `session'' for #<Invoice: 0xb7670928>" Right before