similar to: ActionMailer dont function with JRuby?

Displaying 20 results from an estimated 2000 matches similar to: "ActionMailer dont function with JRuby?"

2009 Dec 06
9
Route error to Admin namespace
Hi. I have some apps that i have "admin" areas to the clients manager the app. This "admin" is a directory on my controllers path, like this: my_site --> app -->-->controllers -->-->-->admin And my controllers in "admin", i use the correct namespace(example for clients_controller): class Admin::ClientsController < AdminController Only doing
2009 Nov 26
6
will_paginate don't work on jruby platform
Hello all,will_paginate don''t work on jruby platform, the Model.paginate find works ok, accepts all kinds of params, this is config.gem config.gem ''will_paginate'', :version => ''2.3.11'', :source => ''http://gemcutter.org'', but <%= will_paginate @collection %> doesn''t work it always produce nil(so nothing on page).
2009 Aug 24
8
overriding .blank? method
Hi, Does anyone know a way to override .blank? method that rails provides. I want to add additional custom checks (specific to my application) to this method. Thanks, Pratik
2009 Aug 28
4
Objects in Views
Hi everyone, I have recently experienced a strange behavior (strange from my knowledge) in rails. In my controllers ''new'' action, I am creating a few instance variables in the following manner : @controllerModel = ControllerModel.new @model1 = Model1.all @model2 = Model2.all in my ''new'' view, I am using the @controllerModel to create the form for new and I
2010 Apr 26
11
Rails I18n
I was just wondering about locales and .yml files. Is it better to store the multilanguage strings in .yml files than in databases? And if yes, why? I was also wondering how rails are loading this files (for example, I have 4 languages in my web app, each has her own .yml file, will my rails app loads all the files in ram and then it will call each variable inside my web app? Or something else?)
2009 Aug 25
5
uninitialized constant
API-> hello_message_api.rb. class HelloMessageApi < ActionWebService::API::Base api_method :hello_message, :expects => [{:firstname=>:string}, {:lastname=>:string}], :returns => [:string] end controller -> class HelloMessageController < ApplicationController web_service_api HelloMessageApi web_service_dispatching_mode :direct wsdl_service_name
2009 Nov 03
4
Rails in css ..
Hello all, Actually i am having a small problem.. googled it but did''nt find any clue.. So what i want to do is that i want to insert ruby variable in css style property.. as like .. <div class="abc" style="left: <%= @var * 6 %> px;"> But this is not working.. I am doing it because i want to keep the left property dynamic .. :) Is there any possible way to
2011 Jun 08
2
MySql2 adapter hangs in Rails3 on Windows XP
Previously we''ve used Rails2.xx with no problems and we''re trying to upgrade to ruby 1.9.2p180 and Rails 3.0.7 with pik to keep ruby versions separate. After some initial difficulties with MySql2 gem installation, following <a href=http://rorguide.blogspot.com/2011/03/installing- mysql2-gem-on-ruby-192-and.html>these tips</a> got mysql2 v0.2.7 installed. My problem
2009 Dec 02
14
root_path and root_url undefined
Hi all, I''ve just started working on another RoR project after a couple of months away. I''m having trouble with named routes, specifically root_* In previous apps I''ve used root_path and root_url without any problems, but in this project (2.3.2 - the same as my last project where I used it) it comes up undefined. I''ve double and triple checking my routes.rb,
2009 Aug 25
28
Anything but Aptana
Not trying to get into a "What''s a good IDE" here, BUT....On Windows....RadRails never cut it. Under Aptana, it''s a terrible joke, and I''m sick of losing so much time waiting not only for this thing to initialize, but the hanging and crashing I go through is killing me. Please, someone....point me to a decent, lightweight IDE. All i want is syntax coloring.
2009 Dec 24
4
NoMethodError
Hi, In a few words, can someone explain to me the NoMethodError. Googling for answers will get you to something but a direct answer from experts will give you something. NoMethodError in Book#new Showing app/views/book/new.html.erb where line #4 raised: undefined method `title'' for #<Book id: nil, created_at: nil, updated_at: nil> Extracted source (around line #4): 1:
2009 Dec 09
1
how to send mail through ruby on rails
Plz tell me the code to send mail from ruby on rails.I have googled many times but couldn''t find a proper solution. -- 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
2009 Nov 03
12
Mysql::Error: query: not connected
Hi there! I am PHP developer and trying to learn ROR. Currently I am building my first Rails website (OS X Snow Leopard, TextMate) and decided to switch from sqlite to mysql. After many-many hours of searching the internet I managed to install mysql gem. Now I get this error when I try to run rake migrations: rake aborted! Mysql::Error: query: not connected: CREATE TABLE `schema_migrations`
2010 Dec 10
1
no Ruby script found in input (LoadError)
I just cloned a new Raills 3 project from git. The project is brand new, although it does have some gem dependancies. I ran bundle install and I got the dependancies in stalled. Bundle check confirmed everything is there. But when I just the rails command (rails -v for example) I get this: /Users/joBdsgh/.rvm/rubies/ruby-1.9.2-preview3/bin/ruby: no Ruby script found in input (LoadError) This
2009 Aug 31
3
Migration - wrong SQL statement is created
Hi, I am doing my first steps with RoR and I have the following problem: I execute my migration file with the following content on a MySQL-database via Rake: <code> class CreateUsers < ActiveRecord::Migration def self.up create_table :users do |t| t.integer :id t.string :username, :size => 100 t.string :password, :size => 100 t.string :email, :size
2010 Nov 25
25
[Bug 31920] New: Brightness control is erratic (/sys/class/backlight/nv_backlight/max_brightness is wrong)
https://bugs.freedesktop.org/show_bug.cgi?id=31920 Summary: Brightness control is erratic (/sys/class/backlight/nv_backlight/max_brightness is wrong) Product: xorg Version: git Platform: Other OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium
2009 May 06
7
Quota over NFS
Hey, I've been strugling to get quota working on my enviroment. I have one storage server that exports the 'home' dir. My mail server mounts the exported 'home' server at '/home' # dovecot --version > 1.1.14 I'm also running Postfix and using Dovecot/LDA as MDA so that we can use the Dovecot's Quota plugin. The thing is that if the user has exceeded
2014 Nov 12
3
Put virbr0 in promiscusous
Hi , I have two virtual machines VM1 and VM2. Then I have added eth0 of my VM to 'default' network. Use case :- I want to monitor all traffic on virbr0('default' network). Steps followed :- 1. Add VM1 eth0 to virbr0 2. Add VM2 eth1 to virbr0 3. brctl setageing ovsbr0 0 ..(To put bridge in promiscuous) Now I am running tcpdump on eth1 of VM2 and trying to ping
2018 Mar 21
2
[GSoC 2018] A single updater class for Dominators in LLVM
Hi, I am a first year M.Tech (computer science) student at IIIT Hyderabad. I am interested in working on the project - single updater class for the dominator tree in llvm and the algorithm for pruning unwanted changes to the Post Dominator Tree. I have gone through the programmers manual of llvm in the past and I have 3 years experience of working with the LLVM community. I have also gone
2023 Jul 21
1
Adding SRV records to zone
Hi Sagar, Are you getting a particular error? Because the same method should work just fine in NSD. Simply open the corresponding zone file (as configured in nsd.conf) and put that line in there. Best regards, Jeroen Koekkoek On Fri, 2023-07-21 at 09:14 +0200, Sagar Acharya via nsd-users wrote: > How do I add SRV record to my zone file? > > Eg. In pdns I have > >