search for: maxwellrender

Displaying 20 results from an estimated 20 matches for "maxwellrender".

2011 May 20
3
Div style changes
Rails is not changing my divs styles. I made a new layout and set a div''s style to style="width:2000" but it does not change the width. Any ideas? -- Posted via http://www.ruby-forum.com/. -- 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
2011 Jun 21
2
Find by parameter
Hi, I''m trying to do a query on controller for get list by a boolean value I do @movies = Movie.where(:active => 1) This value is already on form and it is being written on database, but when I write a block, I still picked up the list of all videos Can anyone see what I''m doing wrong? Thanks! -- *Fernando Aureliano* -- You received this message because you are
2012 Jan 22
4
undefined method `gsub!' for 2012-01-22 17:00:00 -0500..2012-01-23 00:00:00 -0500:Chronic::Span
Hey all, I am getting this error: NoMethodError (undefined method `gsub!'' for 2012-01-22 17:00:00 -0500..2012-01-23 00:00:00 -0500:Chronic::Span): in this code: date_range = Chronic.parse(the_date, :guess => false) reports.sum_distance_by_date(date_range).each do |d| u[:m] << d end def
2012 Sep 14
5
ruby server chrashes
Hello, When I do rails server it chrashed with this ouput : http://pastebin.com/DJ21qC5h Anyone a idea what is the cause of this problem and how to solve this ? Roelof -- 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/Ez6ZCGd0@public.gmane.org To
2011 May 16
1
You cannot have more than one Rails::Application (RuntimeError)
I installed RVM and am getting a kinds of errors. I have managed to get most things back to normal but I get this error now in one of my apps. /.rvm/gems/ruby-1.9.2-p180/gems/railties-3.0.7/lib/rails/application.rb:63:in `inherited'': You cannot have more than one Rails::Application (RuntimeError) -- Posted via http://www.ruby-forum.com/. -- You received this message because you are
2009 May 12
3
forms & link css classes - not working
I used a scaffold to create an interface. I''m trying to style it and I''m having trouble. In my css I have: #content a, a:link, a:visited{ color: #ff8400; } #content a:hover{ background: #ff8400; color: #FFFFFF; } #content a.urgent, a.urgent:link, a.urgent:visited { color: #FF0000; } #content a.urgent:hover { color: #FFFFFF; background: #FF0000; } #content input.m_title{
2011 Sep 21
5
bundle install rmagick error in unix
I have Rails 3 and Ruby 1.9.2 Installing rmagick (2.13.1) with native extensions /opt/local/lib/ruby/site_ruby/1.9/rubygems/installer.rb:551:in `rescue in block in build_extensions'': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError) /opt/local/bin/ruby19 extconf.rb checking for Ruby version >= 1.8.5... yes checking for gcc... yes checking for
2009 May 07
5
Controller redirect_to to leave iframe
Inside an iframe, I want the controller to redirect_to to the parent (i.e. target =''_parent''). Any ideas? (Everything I''ve tried- via redirect_to - just keeps it inside the iframe)
2009 May 07
13
what database field type should i use ??
in a database table if there is a field which has a certain set of fixed values. for example staus => {Single, Married, Divorced } OR state => {California, Albama, Olaska ...} so what should be preferred way out of the following for storing the values 1. Keep the field as "string(Rails)" VARCHAR(MySQL) itself ....and while showing the field just show the field value. 2. Keep
2011 Aug 03
2
Malformed CSV Error
Hello, I am getting error :- #<CSV::MalformedCSVError: Unclosed quoted field on line 1892.>. I have following code :- -------------------------------------------------- @parsed_file = CSV.open("#{RAILS_ROOT}/private/sales_report_files/#{@file_folder}/#{@sub_file_folder}/#{@file_name.filename}",''r'',:col_sep =>?\t) @parsed_file.each_with_index do |row, index|
2011 May 21
4
RoR and problem with connection to MySQL database
Hello, I am building my first application with MySQL database and I am solving this problem - my app can''t to connect to MySQL server. MySQL server is running, in terminal (I am working at Mac) I created MySQL table and I set password to MySQL with using following command: mysqladmin -u root password ''mypass'' in database.yml is: development: adapter: mysql2
2011 Aug 26
17
strings issue
Hi everybody, I ve got a problem with strings and the class File in rails Indeed, when i try to do this: File.new("archives/sequences/archives-2011.xml") it works perfectly, however when i do string = "archives/sequences/" + @filename => filename being "archives-2011.xml" File.new(string) it doesn''t work! ruby tells me it cannot find the file does
2011 Jul 23
6
Rails 3.1 CoffeeScript not working
I convert my old JS files into CoffeeScript, In my public controller I used this functions $(''#events a'').lightBox() $(document).ready -> $("#slider").easySlider auto: true, continuous: true they load inside application.js like this (function() { $(''#events a'').lightBox(); $(document).ready(function() {
2012 Jul 16
9
Is twitter devloped in Ror
hii -- 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/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at
2009 Mar 10
7
Managing migrations
I have a migration "x" that when it runs self.up it adds a new column to a table, and of course when self. down is run it deletes said table... After I ran this migration I continued to work and in the process added a couple other migrations. After a while I realized that the column migration "x" created was a mistake and I no longer need it. So I ran rake db:migrate:down
2011 Sep 30
5
Rails on Netbeans 6.9.1
I installed ruby 1.9.2 using RVM and then used Netbeans to install the latest rails and gems etc. However when I create a new rails application and click finish i get the following error http://old.nabble.com/file/p32569627/Screen%2BShot%2B2011-09-30%2Bat%2B16.14.01.png Screen+Shot+2011-09-30+at+16.14.01.png When I create a new rails project I correctly select the right version of Ruby to use
2011 Jul 25
4
Rails 3 test database issues
I am having a problem using the test database in Rails 3. It apparently has kept track of aspects of the database that I deleted completely from my migrations at some point. I don''t always use the ''down'' part of a migration and sometimes just recreate the whole database. I did rake db:migrate:reset and rake db:test:prepare, but when I run my test it is trying to access
2012 Feb 21
10
Search of multiple columns
I am currently writing a search method for my rails applications and at the moment it works fine. I have the following in my game.rb: def self.search(search) if search find(:all, :conditions => [''game_name LIKE ? OR genre LIKE ? OR console LIKE ?'', "%#{search}%", "#{search}", "#{search}"]) else find(:all) end end No that searches
2012 Feb 09
7
ruby script/server is not working
hi everyone i just typed ruby script/server -d and then after when i type again it is not working. i got this error [2012-02-09 16:19:54] WARN TCPServer Error: Address already in use - bind(2) Exiting /usr/lib/ruby/1.8/webrick/utils.rb:73:in `initialize'': Address already in use - bind(2) (Errno::EADDRINUSE) from /usr/lib/ruby/1.8/webrick/utils.rb:73:in `new'' from
2009 Mar 13
7
rails, passenger, and images
Just switched over to passenger for development and production for my rails app. Liking it so far. My problem is my image_links, stylesheet_tag_links, and javascript_tag_links are all adding "http://localhost:3000 to the generated links. I got around the stylesheet and js links by not using the helpers. I can access my all of my assets directly via http://dating.local/stylesheets/all.css,