[Rails] Re: activerecord adapter for msaccess mdb files

2010-11-11 Thread sullivan.t
Cool ideas, guys. Thank you. Right now this is for a wireframe that an IT director built the schema for in the Access DB. I'm just going to toss it, copy the schema over to sqlite3 and wireframe with scaffolds in Rails 3 + the latest version of all the other stuff. It's that whole time to get

[Rails] activerecord adapter for msaccess mdb files

2010-11-10 Thread sullivan.t
Good afternoon, I've had a hard time today trying to connect a rails app (still new to it, overall, though I do have some sintra experience) to an existing access mdb. I've installed the ODBC binding for ruby from http://www.ch-werner.de/rubyodbc/ I've also seen/used:

[Rails] web service for processing files

2009-04-09 Thread sullivan.t
Not sure, really, where to ask this - and Rails is the first thing I think of when I want to wireframe something and know, due to the corporate world, it will end up in production anyway. (And that's ok.) I need a service that will process files over our network (https). Been needing a way to

[Rails] User Interface / View Looks

2009-01-28 Thread sullivan.t
What are people doing these days for the user interface side of applications? I'm in the process of writing something, using a lot of CSS (good) but I keep getting the feel that this application (rts) would be better shown to the world in a flash format on the view end. Thoughts? Adobe AIR?

[Rails] Re: Calculate Page views efficiently

2009-01-28 Thread sullivan.t
Maybe with a distinct insert into a history table? thread_views (thread_id int, view_count) outside of the before_filter... somewhere else? Or parsing of the logs? On Jan 28, 1:03 pm, deepu deepu.kalidi...@gmail.com wrote: Hi,      I am coding forum software in rails. In forum software how

[Rails] Re: User Interface / View Looks

2009-01-28 Thread sullivan.t
at work all day. :P On Jan 28, 2:00 pm, Robby Russell ro...@planetargon.com wrote: On Wed, Jan 28, 2009 at 10:13 AM, sullivan.t sulliva...@gmail.com wrote: What are people doing these days for the user interface side of applications?  I'm in the process of writing something, using a lot of CSS

[Rails] Re: config.send()...

2008-10-27 Thread sullivan.t
Oh joy, right. Thanks! On Oct 26, 5:09 am, Fernando Perez [EMAIL PROTECTED] wrote: That's because ENV_RAILS is still nil at the time of execution of this piece of code. in environment.rb you can force it with: ENV['RAILS_ENV'] ||= 'production' -- Posted viahttp://www.ruby-forum.com/.

[Rails] config.send()...

2008-10-25 Thread sullivan.t
Any thoughts on why this in environment.rb will cause test:units to fail? # Requires for application config (/config/config.yml) require 'ostruct' require 'yaml' config = OpenStruct.new(YAML.load_file(#{RAILS_ROOT}/config/ config.yml)) env_config = config.send(RAILS_ENV)

[Rails] Re: group by datepart(day,created_at)...

2008-10-21 Thread sullivan.t
Had a bit of insight with the month(created_at) command, however, I don't seem to be allowed to use that command from within my models. On Oct 20, 3:17 pm, sullivan.t [EMAIL PROTECTED] wrote: What is the best way in rails, to so something similar to this sql: select count(*),datepart(month

[Rails] Re: group by datepart(day,created_at)...

2008-10-21 Thread sullivan.t
Ahh yes, that'll probably do it. (I will try it soon.) I guess my days using Sybase Transact are a bit different in application to SQLite3. :P On Oct 21, 9:00 am, August Lilleaas [EMAIL PROTECTED] wrote: Thomas Sullivan wrote: What is the best way in rails, to so something similar to this

[Rails] group by datepart(day,created_at)...

2008-10-20 Thread sullivan.t
What is the best way in rails, to so something similar to this sql: select count(*),datepart(month,created_at) +/+datepart(day,created_at) from whatever group by datepart(month,created_at)+/+datepart(day,created_at) Thoughts? I mean, besides doing it via strict sql...

[Rails] Odd replace_html outcome

2008-09-24 Thread sullivan.t
In my controller I have a simple create method and in the output section, I have: format.js do @traces = Trace.getLatest render :update do |page| page.visual_effect :highlight, :homeContentPanel page.replace_html :homeContentPanel, :partial = home/

[Rails] Re: Odd replace_html outcome

2008-09-24 Thread sullivan.t
...oh oh... right. I knew that. You passed. Thanks a billion. :) On Sep 24, 1:34 pm, Frederick Cheung [EMAIL PROTECTED] wrote: On 24 Sep 2008, at 18:30, sullivan.t wrote: In my controller I have a simple create method and in the output section, I have:      format.js do