search for: schroe

Displaying 20 results from an estimated 25 matches for "schroe".

Did you mean: schmoe
2009 Oct 12
15
We're sorry, but something went wrong on Tomcat
I am using JRuby and I have to deploy on Tomcat. My web app is working fine in the dev envirmonment, with Mongel, but when I deploy on Tomcat I get "We''re sorry, but something went wrong on Tomcat". The problem is that production.log only shows: # Logfile created on Mon Oct 12 12:54:36 +0100 2009-bash-3.00 The file permission and directory are 777. Any idea how I can
2009 Apr 05
5
Use a value from a different model
Hello, I cannot find the issue and it drives me crazy :( let''s simplify. I have 2 models: saving and purchase_type a *saving* corresponds to a *purchase_type* e.g. new sourcing or renegotiation a saving has exactly one purchase_type and a purchase_type has many savings. when I try to display the list of savings and their purchase type (name, not Id), i get the dreaded "You have a
2009 Jan 08
5
There is already an object named 'schema_migrations' in the database
I''ve created a table in a SQL Server database using a migration, successfully. I''ve tried to change the name of a column in the table and got the error message above when running ''rake db:migrate''. Previously I have developed using MySQL and Sqlite and migrations have worked successfully. This is an error I have not seen before. Has anybody seen this and worked
2011 Aug 07
9
How can I disable Rails 3.1's ActiveRecord Query Caching?
Hey guys, As most of you know, Rails 3.1 introduces query caching for ActiveRecord. Great change all-in-all, but for those of us with IT department mandates for using MySQL (yeah, yeah, I know...), it''s kind of a mixed bag. I need to disable query caching in a project I''m building based on 3.1. I''ve tried a couple different approaches, both without any success. I
2009 Jun 05
15
Rails Code Indentation
Hi All, Rails code must be readable, formatted and well indented. I wanted to do indent code in my previous projects. Is there any built in rails plugin/gem that can help me to indent my existing code. Any ideas will be really appreciated ! NOTE: Please don''t suggest editor plugins. Thanks & Regards, Sandip R~ -- Ruby on Rails Developer http://sandip.sosblog.com
2010 Dec 31
9
Headers in ActiveResource
I am creating a rails app that is a gui wraping a restful web service that uses a websso for authentication. This websso sets a series of headers that I need to pass from the request to the ActiveResource.find methods. As this is stuff like username etc it is going to be different for each request. I can find examples on how to set headers for all requests not just one. Does anyone know of a way
2011 Jul 16
9
rake aborted!
hi , I have started to learn ruby on rails and I''m an absolute beginner . when I try to rake a database like "rake db:schema:dump " I get this message : "rake aborted ! unknown database ''cms_development'' " although I have modified my database.yml and have created my database before. I''ll be appreciated if someone can help me with this thanks
2010 Feb 12
2
log access denied
Problem: Mongrel cannot start because access to log is denied. I just switched to a new development laptop (Snow Leopard). I think I installed everything I needed. I git clone the application I am developing from the repository. Everything went fine. Now when I run script/server, this is what I get: => Booting Mongrel => Rails 2.3.5 application starting on http://0.0.0.0:3000
2012 Oct 16
8
<form> tag is self-closing before input fields .. (HAML generator used)
The form is inside a table, enclosing a <tr> = form_tag admins_backoffice_dashboards_path, :remote =>"true" do %tr.search %th= link_to t(:clear), "#", :id => :clearFilter %th= select_tag :role, options_from_collection_for_select(Role.global, :id, :name, :selected => @role_id ) %th= text_field_tag :email, nil, :value
2008 Sep 23
6
No css formatting
I''ve just moved a rails site across to a test server from my development PC. I''ve frozen rails and put all the relevant gems into the vendor/gems directory too. I''ve migrated the mysql database and configured Apache with Phusion Passenger. I can access the site and the content is fine. The formatting however, has disappeared - it''s as though the css file does
2009 Aug 06
20
Changing from database sqlite3 to mysql - windows
Hi Guys I''d like to know how to change from using sqlite3 to mysql. I''m running windows xp. What is the command that I must type under my application folder? How to I log into the mysql database afterwards? My database.yml file contents at the moment are: # SQLite version 3.x # gem install sqlite3-ruby (not necessary on OS X Leopard) development: adapter: sqlite3
2012 Jan 01
4
Chronic parsing date range in console but not in application in rails 3
Hey all, Chronic will parse a date range in console: Chronic.parse(1/1/2011 - 1/1/2012, :guess => false) => 2012-01-01 12:00:00 -0500..2012-01-01 12:00:01 -0500 However, when I use logger to check if it''s parsing in application, it is not: logger.info "The value of history date is #{history_date}" => The value of history date is 1/1/2011 - 1/1/2012
2008 Oct 16
4
InstantRails and SQLite
Hy, I''m using InstantRails for my RoR developments and it is really great. However I have a little problem since a few days. Here is the situation, I''m using InstantRails 2.0 with PHP 5.2.6 (I upgraded following the InstantRails procedure). I''m using MySQL as a database for my application but recently downloaded a forum (FluxBB) which need SQLite to work. My problem is
2010 May 21
8
Designing An Application (UML, Class Diagrams)
Hi Is there any freeware anybody would recommend for showing database models and how they relate to each other? I''m picking up an app another developer left in a mess and I''m trying to sort it out. Diagrams would be a great help. Suggestions? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this
2010 Mar 18
1
MailChimp API recommendations?
This page - <http://www.mailchimp.com/api/downloads/> - lists five gems/plugins for interacting with the MailChimp service, and for all I know there are others. Anyone have a personal recommendation? Based on any of stability, ease of integration, completeness, whatever... TIA, -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org twitter: @hassan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/E...
2011 Oct 21
1
Windows RailsInstaller for 2.3.x ?
Can anyone tell me which RailsInstaller version was the last one that provided Rails 2.3.x ? The release notes are a bit skimpy :-) but I need to help someone on Windows get set up to work on a legacy app. TIA, -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org http://about.me/hassanschroeder twitter: @hassan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrail...
2011 Dec 17
39
Stack Level Too Deep Error (can't seem to figure it out)
Hi all, I am running into a weird issue where my application is giving me a stack level too deep error. I can''t seem to find where my code is throwing this error. On the machine I developed this code on, this error does not show up when I run rails s but when I move the code to another system to run it this error shows up. The system that this code runs fine on is a mac os x machine
2010 Apr 14
35
Conditionally adding a link to a form -- how?
I''ve got two entities created by scaffolding: Expense & Vendor In Expense#new there''s a form with a Vendors-drop-down and a NewVendor- button. The latter button brings up Vendor#new. The Create button in Vendor#new brings up Vendor#show with Edit & Back links. I want to append a third link conditionally to Vendor#show: if the Expense#new form led to the Vendor#show
2010 May 24
6
Problem Installing Rails 3
I''m trying to install Rails 3 on a brand new MacBook Pro running OS X 10.6.3, Ruby 1.8.7, and Rails 2.3.5 and I''m wondering if I''ve hosed myself. So far, I''ve run these commands: $ gem update --system $ gem install arel tzinfo builder memcache-client rack rack-test rack- mount erubis mail text-format thor bundler i18n $ gem install rails --pre However, when I
2010 Jul 02
17
Doesn't work erb engine
I''m new in RoR:) I have controller and view (/app/controllers/greeting_controller.rb and /app/views/greeting/index.rhtml /.erb/.html.erb - doesn''t match). greeting_controller.rb source: class GreetingController < ApplicationController def index @message = "Hello world!" end end index.rhtml source: <html>