search for: bachase

Displaying 9 results from an estimated 9 matches for "bachase".

2006 Dec 08
2
UJS plugin incompatible with RSpec?
Hi all, Anyone using UJS with RSpec? I have the following view spec: ---- edit_spec.rb context "accounts/edit" do fixtures :users setup do assigns[:user] = users(:consumer) end specify "should display the user info to edit" do render ''/accounts/edit'' end end ---- end that causes this exception: ---- exception ActionView::TemplateError
2006 Aug 08
1
limit user input for legacy coding schemes
The legacy db I am currently working with has lots of codes (2 character strings) that are required to be the same in the new version of the app. Things like country codes, language codes and others which are not standard. Rather than create a table for each and then have a relationship between my models, I would much prefer to have a string field in the model being tagged with a code, limit
2006 Aug 11
2
dreamhost error after 1.1.5 upgrade
My site was working fine earlier, but since the 1.1.5 upgrade at dreamhost it just hangs and hangs and then gives the "Application error, rails failed to load properly". Fastcgi was and still is enabled in the control panel. I had been using capistrano to deploy and it has been working well that way. The application works on my local box which has 1.1.6 running. I edited
2006 Jun 12
0
Dynamic migrations? Or something similar...
Hi, I am new to rails and am trying to develop an application that would allow for user creation of "panels". Users would create a panel and add fields to that panel, where each field is a specified datatype. So obviously, panel => table, fields => columns. Would a dynamic migration be possible to roll these changes? Or would direct SQL calls be needed? Any
2006 Mar 20
0
Using render within plugin.
I am very, very new to rails (and ruby) and am working on a view extension helper method. In a template I have <%= my_helper params %> my_helper does some system calls and ends up placing an image file in the public images folder (which I referenced within the plugin using RAILS_ROOT). I want the helper to then return an appropriate image link to the template. I want to use the
2006 Mar 20
0
latex plugin
So I figured out my confusion from earlier and am here to offer: http://www.owlnet.rice.edu/~bchase/latex_render/ as the README states, this is highly derivative of the LatexRender php script and was inspired by the rtex rails plugin. If someone has a better place to host it, feel free to do so. Also, since this is my first ruby/rails project, any tips on improvement are greatly
2006 Sep 09
1
Acts as tree and list?
Does anyone have any experience using acts as tree and acts as list together? My model looks like class ModelName < ActiveRecord::Base acts_as_tree :order => "position" acts_as_list :scope => :parent end the table has fields position, :integer parent_id, :integer This kinda of seems to work. Except if I do something like @modelinstance.children.first.move_lower
2006 Dec 18
0
best choice for read only database?
Aside from loading processed data nightly (when the app is offline), I will only be reading data from the database. I don''t need to support a large number of concurrent issues, so the scaling is not too important. Would sqlite be the best choice for this type of project? Thanks, Brad --~--~---------~--~----~------------~-------~--~----~ You received this message because you are
2006 Aug 03
1
Tips for using keyboard in app
Hello list, I am beginning work on converting a legacy db/app to rails. For now, I am not having too much trouble with the dataside, but I am a bit unsure of how to proceed on the view side. In particular, data entry users currently sit in front of a terminal and use the keyboard as the exclusive input device. Since the app has been around for quite some time, they are fairly proficient