search for: lvdladg

Displaying 17 results from an estimated 17 matches for "lvdladg".

2005 Feb 28
5
Using session data in model
Hi, I want to use my some session data when I validate som data in the model. The specific problem I have is that I present different forms data based on gender, and then dependent of the gender, there''s different fields that needs validation. I''m wondering what''s the preffered way of doing this. The session data is not present in the model, i.e: class Myclass
2012 Jan 05
6
assest pipeline how to exclude some css files?
In my assets I have intranet |_1.css.scss |_2.css.scss internet |_1.css.csss application.css application_internet.css application_intranet.css 1.css.scss 2.css.scss 3.css.scss intranet and internet are directories. In my layout I want to exclude the files under internet and intranet. I have created application_internet.css /* * application-internet.css * *= require_self *=
2012 Feb 06
3
Can't complete the Getting Started tutorial due to ExecJS::RuntimeError in Home#index
I have just installed Rails 3.2.1 on my Xubuntu using the gem system and I try to make the tutorial http://guides.rubyonrails.org/getting_started.html and on section 4.3 Setting the Application Home Page I get the following error ExecJS::RuntimeError in Home#index Showing /home/xonx/rails/blog/app/views/layouts/application.html.erb where line #6 raised: (in
2008 Aug 28
1
rspec story - access session
Very simple, but not googlable: how do I access ''session'' in my story? In rspec controller specs I could just say session[:user] for example, but this doesn''t work here. --~--~---------~--~----~------------~-------~--~----~ 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
2012 Jun 21
1
Modal popup in rails
Hi all, I am new in rails so i want to open modal box jquery but not getting any help. Please send me code or links if any one have.... Thanks in advance. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/0Td3_nuuNW4J. To post to this
2011 Dec 14
30
How can I get RVM/Passenger/Apache2 to play nicely together
Hello all, Can anyone point me to any solid documentation on how to set up a production server using RVM, Passenger, and Apache2? I have been at this for a week with absolutely no luck at all so I thought I would post here to see if anyone has managed to get this to work and written down the steps they used. Right now with my current implementation, I am getting a 404 error when I attempt to
2013 Sep 16
1
Gluster 3.4 QEMU and Permission Denied Errors
Hey List, I'm trying to test out using Gluster 3.4 for virtual machine disks. My enviroment consists of two Fedora 19 hosts with gluster and qemu/kvm installed. I have a single volume on gluster called vmdata that contains my qcow2 formated image created like this: qemu-img create -f qcow2 gluster://localhost/vmdata/test1.qcow 8G I'm able to boot my created virtual machine but in the
2008 Jul 12
1
<new Element> optimization
I have 2 problems with Prototype''s <new Element> method. 1. I have a lot of DOM elements created manualy with <new Element>. I have already about 1000 lines of code with just <new Element>. When I added it to the dome with <body.appendChild(root)> it takes a lot of time to insert. How to optimize it? May be it''s better to use simple HTML (may be with
2013 Jun 23
1
Contact form - NoMethodError (undefined method `each' for nil:NilClass)
Hi Guys, So basically I want a contact form to appear on all the service pages. I''ve already created a contact form for the contact page which works perfectly using this tutorial: http://matharvard.ca/posts/2011/aug/22/contact-form-in-rails-3/ Now I would like to implement this approach on the service pages, and it works until I push the Submit button, when I get the following error:
2013 Oct 29
3
rake db:migrate debacle
Hi there - I''m a ruby newbie and am stuck on the Getting Started with Rails app. See output below. Problem arose when I ran the rake db:migrate command. I also tried the ''rake db:migrate RAILS_ENV=development'' command which may be obvious. Any ideas on how to fix this? Many thanks!! $ ruby -v ruby 1.9.3p392 (2013-02-22 revision 39386) [x86_64-darwin10.8.0]
2011 Jun 11
8
Help with railroad
Can anyone help me install railroad gem? What I need is a simple class diagram of my rails website. Not necessarily with railroad (if you know any other software, for mac, that works). The website is http://railroad.rubyforge.org/ I couldn''t find any explanation on how to install it. Thank you, Rodrigo -- You received this message because you are subscribed to the Google Groups
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
2005 Mar 04
0
Time input with select_time
In MySQL I have a table named "game_times" with a time type field named "begin". I figured it would be straightforward to use "select_time" to get input in the view: <%= select_time(Time.now, :prefix => "game_time[begin]") %> However, in the controller: @game_time = GameTime.new(@params["game_time"]) Doesn''t seem to work.
2008 May 16
0
Problem with :action => 'destroy' in url_for
url_for( :controller => ''foo'', :action => ''destroy'', :id => 1 ) => ''/ foo/1'' url_for( :controller => ''foo'', :action => ''destroy_x'', :id => 1 ) => ''/ foo/destroy_x/1 url_for( :controller => ''foo'', :action => ''destroy'', :foo_id => 1 )
2008 Nov 01
0
seek a job, rails developer
Doing Ruby and Rails - half a year actively. Know: rspec, git, svn, ubuntu-server (nginx+mongrel_cluster, monitd, logrotator and some other small stuff about tweaking server), vim, html, css (cross browser), jQuery(not too good) Experience: * Made http://teachmate.org myself (being slightly consulted by ruby- guru) Sources are here, btw: http://github.com/snitko/teachmate/tree/master * jiff_auth
2013 Sep 19
0
Files written to an OST are corrupted
Hi, everyone, I need some help in figuring out what may have happened here, as newly created files on an OST are being corrupted. I don''t know if this applies to all files written to this OST, or just to files of order 2GB size, but files are definitely being corrupted, with no errors reported by the OSS machine. Let me describe the situation. We had been running Lustre 1.8.4 for
2005 Feb 13
5
Select Enumerated Values with FormOptionsHelper
Hey, I''m new, so apologies if I''ve overlooked obvious resources or violated any etiquette rules for this list. Since rails does not support the MySQL enum data type, I''m following David''s advice of using a varchar and storing the valid values in the application: http://one.textdrive.com/pipermail/rails/2005-January/001536.html So here''s my