[Rails] Tibco Software - Career Opportunity - UI Opportunity

2010-06-18 Thread Lisa
Hi, My company Tibco Software, located in Palo Alto, has UI Architect position available. Can I post this with your organization? Lisa Greenawalt Recruiter Tibco Software 650-846-8763 -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To

[Rails] Rails3 & sqlserver

2010-06-18 Thread Excelan
As soon as gem activerecord-sqlserver-adapter isn't maintaned yet to work with Rails3 is there any other way to connect ActiveRecord to SQLServer? -- 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 rubyon

[Rails] Hi

2010-06-18 Thread Nidhi Sinha
Hello, Can anybody guide me how to upload RoR project on server? I have my domain name register on cPanel. Thanks & Regards, Nidhi -- 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-t...@goo

[Rails] Re: Need Full-time Senior Ruby Dev with CSS/Jquery skills etc

2010-06-18 Thread Nidhi
Hey Amala, You are right to some extent. But I strongly feel that knowing a language with CSS and HTML is not wrong and its not the pressure. A web developer should know all the things related to web development. Anf if anyone has knowledge of both front-end and functionality part then its really

Re: [Rails] Modelling a parent-child relationship

2010-06-18 Thread Don Pinkster
Interesting to read: http://guides.rails.info/association_basics.html#self-joins Op 18 jun 2010, om 19:53 heeft Michael Satterwhite het volgende geschreven: > I've been googling this for the last day, and right now all I've got is > a headache. There are several articles on this - but they are no

Re: [Rails] Re: Need Full-time Senior Ruby Dev with CSS/Jquery skills et

2010-06-18 Thread Philipe Casarotte
Hello I have interest in this job. http://www.linkedin.com/in/philipecasarotte On Fri, Jun 18, 2010 at 1:33 PM, Marnen Laibow-Koser wrote: > Amala Singh wrote: > > I know that. But knowing everything is not an option. Then you dont need > > to > > develop this in ROR. You can opt for any framewo

Re: [Rails] Re: Covert HTML to PDF

2010-06-18 Thread Philipe Casarotte
http://thinkrelevance.com/blog/2010/06/15/rethinking-pdf-creation-in-ruby.html On Fri, Jun 18, 2010 at 12:19 PM, Rails Learner wrote: > Hi Everybody, > > I am using wicked_pdf plugin and having a hard time to get it working. > On windows XP, I get the error "fork() function is unimplemented on th

[Rails] Set server-side environment variables in integration testing

2010-06-18 Thread ranchlan
My Rails application uses the SERVER_NAME environment variable to decide how to display some of the web pages. I want to do integration testing with this application but I do not see how to force the request object's environment variable SERVER_NAME to a particular value. I would like to do somet

[Rails] Read receipt status with bulk emails

2010-06-18 Thread Technova Lead
Hi Guys, I am sending bulk email in my ror app with Gmail SMTP connection using Action Mailer. I want to get it's read receipt or email bounce status. Is there any way to get email sent status? Is it possible with ROR application or we have to use any third party tool? I am using rails2.3.5 on

[Rails] Missing these required gems even though they are installed

2010-06-18 Thread oren
script/server show me: Missing these required gems: cucumber-rails = 0.3.0 rspec-rails = 1.3.2 You're running: ruby 1.8.7.72 at /home/oren/.rvm/rubies/ruby-1.8.7-p72/bin/ruby rubygems 1.3.6 at /home/oren/.rvm/gems/ruby-1.8.7-...@cms, /home/ oren/.rvm/gems/ruby-1.8.7-...@global Run `rak

[Rails] Cumber: Sending unwanted form parameters

2010-06-18 Thread brianp
Hey, I have a 2 model form. Vehicle which accepts_nested_attributes_for Images. The form has a single File input field for an image. The form does not require a file to process (Works in Dev fine). In cucumber I fill out some fields then submit. I'm getting back Validation errors from the Image

Re: [Rails] Re: Re: Install Plugins into vendor/plugins

2010-06-18 Thread Filipe Quadros Borges
Ok :) I already have git installed. I discovered that some plugins install and some don't. I think it is more a git problem than a rails problem, but hope someone who experienced a similar problem can help. Thanks! On Thu, Jun 17, 2010 at 10:38 PM, Marnen Laibow-Koser wrote: > Filipe Quadros Bo

[Rails] [ANN] easy_translate 0.1.1

2010-06-18 Thread John Crepezzi
== Name easy_translate == Synopsis Ruby binding for Google Translate that supports Batch Translation. Great, clean syntax for server-side translations. http://github.com/seejohnrun/easy_translate == Install gem install easy_translate == Why not rtranslate or rsay? * Only Ruby binding to have sup

[Rails] Re: Rails 3 constraints, named routes and form_tag

2010-06-18 Thread Alan McCann
FYI: What I am trying to do is create a form to select a location in the book and then render it. Thanks! On Jun 18, 2:24 pm, Alan McCann wrote: > I have the following URL I match to show a subset of text from a book > > /bookname/chapter1/line1/chapter2/line2 > > I have a route definition that

[Rails] Re: Re: Modelling a parent-child relationship

2010-06-18 Thread Marnen Laibow-Koser
Michael Satterwhite wrote: > Michael Pavling wrote: > >> It does sound like you're quite sure you're expecting to have >> many-children and many-parents - almost as if a self-referential >> has_as_belongs_to_many is what you're wanting - never tried it myself, >> but would give it a bash on a test

Re: [Rails] Re: How to use an active record store session model?

2010-06-18 Thread Nick
On 2010-06-16 08:56, Garth wrote: > Let me know if you figure this out - I'm having the same problem. session[:fish] = ! session[:fish] @site_session = request.env['rack.session.record'] The fishy line, or equivalent, seems to be required to ensure that Rails creates a session object

[Rails] "Clickable" error pages in development mode

2010-06-18 Thread Perry Smith
When I use merb or if I get an exception in Passenger, the page that is render has links for each of the source lines. These links I can click and it puts me into textmate. I have a hook so it puts me into emacs. Is there a way to get the regular development mode exception handling to do the sam

[Rails] Rails 3 constraints, named routes and form_tag

2010-06-18 Thread Alan McCann
I have the following URL I match to show a subset of text from a book /bookname/chapter1/line1/chapter2/line2 I have a route definition that works perfectly when entering a url in the browser however I cannot get a link_to or path name for this url match '/:book/:chapter1/:line1/:chapter2/:lin

[Rails] Re: Re: Modelling a parent-child relationship

2010-06-18 Thread Michael Satterwhite
Michael Pavling wrote: > It does sound like you're quite sure you're expecting to have > many-children and many-parents - almost as if a self-referential > has_as_belongs_to_many is what you're wanting - never tried it myself, > but would give it a bash on a test application if that's what you're

[Rails] Re: Modelling a parent-child relationship

2010-06-18 Thread Michael Satterwhite
Marnen Laibow-Koser wrote: > Are you *sure* you mean that it's many-to-many? If that were so, a > category could have more than one parent. Is that what you want? Or do > you really mean a simple hierarchical tree? That is true. A category can exist in several places in the hierarchy. It may

[Rails] PDFKIT Gem Example

2010-06-18 Thread Rails Learner
Hi Everybody, Can anyone give me a small working example of how to use PDFKIT to convert a view in rails app to pdf file? Any help is much appreciated! Thanks! -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rail

Re: [Rails] Need Full-time Senior Ruby Dev with CSS/Jquery skills etc

2010-06-18 Thread Greg Donald
On Fri, Jun 18, 2010 at 11:05 AM, Amala Singh wrote: > I know that. But knowing everything is not an option. Then you dont need to > develop this in ROR. You can opt for any frameworks, PHP, Java etc. > > With ROR, the developers are able to focus on developing with just the Ruby > language. The c

[Rails] Re: Different views for different user's types

2010-06-18 Thread Ale Ds
Fernando Perez wrote: > Something like: > > kind = current_operator.op_type == "basic" ? "_basic" : nil > > format.html { render :template => "devices/index#{kind}.html.erb" > > And factor that in its own before_filter method or alike. thank you, this is a good trick, but in this way I have to

[Rails] Troubles with ActionController::DoubleRenderError

2010-06-18 Thread Jorge alejandro Mendoza torres
Hello all! I'm having troubles with my ruby application. When I click on the submit button, the browser shows me this: We're sorry, but something went wrong. The production.log file has this text: -- Processing Identificac

Re: [Rails] Re: Modelling a parent-child relationship

2010-06-18 Thread Michael Pavling
On 18 June 2010 20:10, Marnen Laibow-Koser wrote: > Michael Satterwhite wrote: >> A category can be subordinate to another category (it's child - and >> obviously, the first category is the parent. This is a self-referential >> many-to-many. > > Are you *sure* you mean that it's many-to-many? If t

[Rails] Re: Modelling a parent-child relationship

2010-06-18 Thread Marnen Laibow-Koser
Michael Satterwhite wrote: > I've been googling this for the last day, and right now all I've got is > a headache. There are several articles on this - but they are not making > sense. One is using a field :association_foreign_key that I can't find > in my documentation. That's not a field, it's a

[Rails] Re: hostingrails.com appears to have had an ownership change

2010-06-18 Thread Deon Silva
We recently moved our RAILS hosting to webappcabaret.com AND we are loving it. Had bad experience with hostingrails even before ownership change. Danny Collier wrote: > I've had the same experience with them. I host over 40 sites in a CMS > application on Hosting Rails. They sent me the IP chang

Re: [Rails] Re: client-side form validation

2010-06-18 Thread lucas franceschi
Robert, I agree with you, but if there was a gem, that would just do the validation *based on the model rules*, wouldn't it solve your problem, and mine's? well, there is that gem, that plugin, whatever... and there's more than one, live-validation and client-side-validation, plugin and gem repect

[Rails] Re: Actionmailer not working [no errors]

2010-06-18 Thread Mike Gauthier
What permissions did you have to change? Kr Alfabeta wrote: > Kr Alfabeta wrote: >> More info: my rails application runs under apache but when I run it by >> default with ./script/server (WEBrick) actionmailer WORKS. >> >> Where is the problem? permissions? > > Solved. permissions. thank you f

[Rails] Re: client-side form validation

2010-06-18 Thread Robert Walker
Fernando Perez wrote: > >> Personally, I don't generally use client-side validation. > It's painful when you upload a 10MB file with the form, and then > server-side validation tells you you forgot to type a description. Now > you need to reupload the 10MB file... That exactly why I included th

[Rails] Modelling a parent-child relationship

2010-06-18 Thread Michael Satterwhite
I've been googling this for the last day, and right now all I've got is a headache. There are several articles on this - but they are not making sense. One is using a field :association_foreign_key that I can't find in my documentation. I admit it, I'm lost. Assume I have a Categories table. To ma

[Rails] Re: Why do rails calls a method when I'm calling a property?

2010-06-18 Thread Taywin
If you look at the error "undefined method `name' for nil:NilClass," it tells you that the error is from attempting to call a method 'name' from nil (NULL) object. I believe Rails would attempt to look for both method and property; however, it would report as undefined 'method' if it found nil obje

Re: [Rails] Re: client-side form validation

2010-06-18 Thread lucas franceschi
http://articles.sitepoint.com/article/form-validation-client-side well, I do think your point is quite right, that's why you never use pure javascript validation in the view... what i am talking about, is a gem, or plugin, that you don't need to say what to validate, it just, reads the model rul

Re: [Rails] Need Full-time Senior Ruby Dev with CSS/Jquery skills etc

2010-06-18 Thread Colin Law
On 18 June 2010 17:05, Amala Singh wrote: > I know that. But knowing everything is not an option. Then you dont need to > develop this in ROR. You can opt for any frameworks, PHP, Java etc. > > With ROR, the developers are able to focus on developing with just the Ruby > language. The complexities

[Rails] Re: Need Full-time Senior Ruby Dev with CSS/Jquery skills et

2010-06-18 Thread Marnen Laibow-Koser
Amala Singh wrote: > I know that. But knowing everything is not an option. Then you dont need > to > develop this in ROR. You can opt for any frameworks, PHP, Java etc. > > With ROR, the developers are able to focus on developing with just the > Ruby > language. The complexities are put behind.

[Rails] Re: Re: Mac and Rails

2010-06-18 Thread Marnen Laibow-Koser
Fernando Perez wrote: >> P.S. +1 to whoever mentioned Homebrew. Finally an alternative to >> macports that I can be happy with. self => "macports hater" > > Really, what's the deal about macports? I find it works quite well. What > problems does homebrew solve? Yeah. I don't much like MacPorts

[Rails] Re: Re: Covert HTML to PDF

2010-06-18 Thread Rails Learner
Hi Joshua , I did install wkhtmltopdf. I have given pdfkit a try which is working very well if I give it an address like "http://google.com";. Just don't know how to specify the address of a page from within my app. Giving address like "http://localhost:3000/test"; is not working. Here is the c

[Rails] Re: Re: Mac and Rails

2010-06-18 Thread Fernando Perez
> P.S. +1 to whoever mentioned Homebrew. Finally an alternative to > macports that I can be happy with. self => "macports hater" Really, what's the deal about macports? I find it works quite well. What problems does homebrew solve? -- Posted via http://www.ruby-forum.com/. -- You received thi

Re: [Rails] Need Full-time Senior Ruby Dev with CSS/Jquery skills etc

2010-06-18 Thread Amala Singh
I know that. But knowing everything is not an option. Then you dont need to develop this in ROR. You can opt for any frameworks, PHP, Java etc. With ROR, the developers are able to focus on developing with just the Ruby language. The complexities are put behind. ROR developers more focus on implem

[Rails] Re: Re: Mac and Rails

2010-06-18 Thread Robert Walker
Marnen Laibow-Koser wrote: >> How do you set up Mongrel that's easier (from scratch) than the above? >> I'm >> assuming you're not just working on a single Rails site and just do >> "rails >> s" or "script/server" when you need it up (I have locally running >> websites >> available all the time)

[Rails] Re: client-side form validation

2010-06-18 Thread Fernando Perez
> Personally, I don't generally use client-side validation. It's painful when you upload a 10MB file with the form, and then server-side validation tells you you forgot to type a description. Now you need to reupload the 10MB file... -- Posted via http://www.ruby-forum.com/. -- You received t

Re: [Rails] Need Full-time Senior Ruby Dev with CSS/Jquery skills etc

2010-06-18 Thread Colin Law
On 18 June 2010 16:07, Amala Singh wrote: > Why ROR developer with CSS skill? CSS web designing and JQuery front end > skill is a completely different skill from Programming skill. I don't think you can develop decent websites using RoR without both Ruby and CSS (and html and probably SQL) knowle

[Rails] Re: Different views for different user's types

2010-06-18 Thread Fernando Perez
Something like: kind = current_operator.op_type == "basic" ? "_basic" : nil format.html { render :template => "devices/index#{kind}.html.erb" And factor that in its own before_filter method or alike. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscr

[Rails] How to get line_number and file_name of an exception

2010-06-18 Thread Fernando Perez
Hi, My goal is to get the file_name where an exception happened and its line_number. The way it's made in Rails is awkward as it gets computed in class TemplateError < ActionViewError which is in the view. So how to write my own exception handler and use line_number and file_name which Rails can

Re: [Rails] Image tag automatically appending some parameter

2010-06-18 Thread Colin Law
On 18 June 2010 15:38, Fernando Brito wrote: > You can find more information here: > > http://railsforum.com/viewtopic.php?id=19518 I think that one is a bit confusing. > http://www.ruby-forum.com/topic/98220 That one explains it well for me. Colin > > -- > Fernando Brito > > > On Fri, Jun 18

[Rails] Re: client-side form validation

2010-06-18 Thread Robert Walker
lucas franceschi wrote: > I am having a hard time looking for a plugin/gem to auto-validate a form > in > client-side, just like "live-validations"... > > i don't wanna know from you guys HOW to do it, i just wanna know if > anyone > here uses this kind of validation, and which plugin/gem you us

Re: [Rails] Re: Covert HTML to PDF

2010-06-18 Thread Joshua Martin
Did you first install the wkhtmltopdf utility? it's not installed automatically as part of the plugin because it's platform-specific... http://code.google.com/p/wkhtmltopdf/ On Fri, Jun 18, 2010 at 11:19 AM, Rails Learner wrote: > Hi Everybody, > > I am using wicked_pdf plugin and having a hard

[Rails] Different views for different user's types

2010-06-18 Thread Ale Ds
I have to create a web app with 2 different user's types: advanced and basic. What's the best way to manage different user's views (one for user's type) ? I am using respond_to in this way: respond_to do |format| case current_operator.op_type when 'basic' format.html { re

[Rails] Re: Covert HTML to PDF

2010-06-18 Thread Rails Learner
Hi Everybody, I am using wicked_pdf plugin and having a hard time to get it working. On windows XP, I get the error "fork() function is unimplemented on this machine" and on Mac OSX Snow Leopard, I get "Broken pipe" error. Any help is much appreciated! Thanks! -- Posted via http://www.ruby-fo

Re: [Rails] Need Full-time Senior Ruby Dev with CSS/Jquery skills etc

2010-06-18 Thread Rob Biedenharn
On Jun 18, 2010, at 10:53 AM, Fernando Brito wrote: On Fri, Jun 18, 2010 at 10:29 AM, Rob Biedenharn > wrote: Perhaps the OP just forgot the '?' on the subject and is the one looking for work. After all, a company wouldn't use a @hotmail.com address, right? ;-) It depends... what if he is ca

Re: [Rails] Need Full-time Senior Ruby Dev with CSS/Jquery skills etc

2010-06-18 Thread Amala Singh
Why ROR developer with CSS skill? CSS web designing and JQuery front end skill is a completely different skill from Programming skill. On 18 June 2010 15:53, Fernando Brito wrote: > It depends... what if he is calling you to work at Hotmail (Microsoft)? :P > > -- > Fernando Brito > > > > On Fri,

Re: [Rails] SQLite - show html from entry

2010-06-18 Thread Fernando Brito
What version of Rails are you running? Rails 3 changed the default behavior of printing raw html and the use of the "h" method. More information can be found here: http://asciicasts.com/episodes/204-xss-protection-in-rails-3 -- Fernando Brito -- You received this message because you are subscr

Re: [Rails] Need Full-time Senior Ruby Dev with CSS/Jquery skills etc

2010-06-18 Thread Fernando Brito
It depends... what if he is calling you to work at Hotmail (Microsoft)? :P -- Fernando Brito On Fri, Jun 18, 2010 at 10:29 AM, Rob Biedenharn wrote: > Perhaps the OP just forgot the '?' on the subject and is the one looking > for work. After all, a company wouldn't use a @hotmail.com address,

Re: [Rails] cannot install Mongrel gem w ruby-1.9.2-preview3 [ x86_64 ] and Rails 3.0.0.beta4 [OS X 10.6.4]

2010-06-18 Thread Fernando Brito
Looking at your error "gcc -I. -I/Users/yves/.rvm/rubies/ruby-1.9.2-preview3/include/ruby-1.9.1/x86_64-darwin10.4.0" Do you see that there are 2 ruby versions there? RVM suggests you to always install gems without "sudo" (or if you installed your first one with sudo, keep doing that forever). Try

Re: [Rails] Image tag automatically appending some parameter

2010-06-18 Thread Fernando Brito
You can find more information here: http://railsforum.com/viewtopic.php?id=19518 http://www.ruby-forum.com/topic/98220 -- Fernando Brito On Fri, Jun 18, 2010 at 11:16 AM, Nicolas Vincent wrote: > Hello, > > I just took over some project and I noticed some odd behaviour : every > image_tag exec

[Rails] Re: how to pass params to button_to_remote ?

2010-06-18 Thread Saurabh Peshkar
Mamadou Touré wrote: > Hi folks, > > I have a form that I populate, and then submit with button_to_remote, > but I would like to have all my fileds that I populated passed as > parameters (like the params hash) with to my controller. How would you > do that ? > > Reagrds Hi, button_to_remote is

[Rails] Image tag automatically appending some parameter

2010-06-18 Thread Nicolas Vincent
Hello, I just took over some project and I noticed some odd behaviour : every image_tag executed inside my views generate the needed code, but also append some sort of non random parameter wich I never asked for ! For example : = image_tag 'tables/first.png', :border => 0, :class => 'first' wil

[Rails] Re: hostingrails.com appears to have had an ownership change

2010-06-18 Thread Danny Collier
I've had the same experience with them. I host over 40 sites in a CMS application on Hosting Rails. They sent me the IP change email *after* our sites went down. It took three days to recover, during which their support kept giving us different reasons why this was our fault. When I called them

[Rails] how to pass params to button_to_remote ?

2010-06-18 Thread Mamadou Touré
Hi folks, I have a form that I populate, and then submit with button_to_remote, but I would like to have all my fileds that I populated passed as parameters (like the params hash) with to my controller. How would you do that ? Reagrds -- Posted via http://www.ruby-forum.com/. -- You received t

[Rails] client-side form validation

2010-06-18 Thread lucas franceschi
hey all, I am having a hard time looking for a plugin/gem to auto-validate a form in client-side, just like "live-validations"... I tried to download and install it via "script/plugin install git:// github.com/porras/live-validations.git" but no plugin was found... i don't wanna know from you guy

[Rails] Re: Big performance issues regarding the browser

2010-06-18 Thread Nicolas Vincent
> Are you sure it is browser related rather than a configuration problem > on the client PC? If you have not already done so try it on another > PC. You may already have done this of course. Yes I'm sure it's browser related. Actually I found the source of my second issues (some pictures not di

Re: [Rails] Need Full-time Senior Ruby Dev with CSS/Jquery skills etc

2010-06-18 Thread Rob Biedenharn
On Jun 18, 2010, at 3:41 AM, Michael Pavling wrote: On 18 June 2010 00:24, Philip Hallstrom wrote: On Jun 17, 2010, at 4:09 PM, Jan Drake wrote: Subject says it all. jan_dr...@hotmail.com No... it doesn't... :-) Company? Location? On-site or telecommute? etc... ... salary? Perhaps

[Rails] Render model to json-schema?

2010-06-18 Thread Joe Developer
http://stackoverflow.com/questions/3068792/how-can-i-export-a-rails-model-to-json-schema I am looking to optimize how we build forms for some of our models and ideally I would like to build them from json-schema. Is there a gem or the like which would allow me to export a model definition to json

[Rails] Re: Rails 3 generators

2010-06-18 Thread Michael Rigart
it looks like it has something to do with my namespacing. When I create a second generator without namespaces, everything seems to work fine. Does anyone know what to do in case of namespacing? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to

[Rails] Re: Re: Recursive self-referential many-to-many relationship

2010-06-18 Thread Marnen Laibow-Koser
Colin Law wrote: > On 17 June 2010 22:22, Marnen Laibow-Koser wrote: >> Toby Rodwell wrote: >>... >> If you don't have control of the database, you should not be doing the >> project. �Really. >> > > I don't think this is a valid general point. There are often > situations involving a legacy dat

[Rails] Re: Re: Mac and Rails

2010-06-18 Thread Marnen Laibow-Koser
Andy Jeffries wrote: >> >> > Use Apache locally too. It's simple, Apache is already installed on >> > Snow >> > Leopard. Install Passenger and configure it (which you'll need to learn >> > how >> > to do for production anyway). >> >> What a waste of effort IMHO. I've never used anything but Mongr

[Rails] Rails 3 generators

2010-06-18 Thread Michael Rigart
Hi, I'm having some problems running a self made generator. When I want to list the generators with: rails g, my generator shows up in the list. But when I want to run it, I get Could not find generator error. module MyGem module Core class InstallGenerator < Rails::Generators::Base

Re: [Rails] render JSONp format

2010-06-18 Thread Peter De Berdt
On 17 Jun 2010, at 22:50, Geoff wrote: I see that rendering json arrays is very simple but JQuery needs to have a jsonp format for cross domain requests. is there a way to have rails output in the jsonp format? Just a quick google search on "jsonp rails" brings up: http://github.com/rack/ra

[Rails] Re: "LoadError: no such file to load -- openssl", following Rails Guides

2010-06-18 Thread James Fisher
OK, I got it fixed, following the instructions at http://www.ruby-forum.com/topic/90083 . I'm still not really happy, though. How many more issues are there going to be for which I am going to have to recompile Ruby? And why did this configure/compile not happen when I installed ruby, from sourc

[Rails] Simple search in ror

2010-06-18 Thread An Car
Hi, i need to implement a simple text function for the app i dev now. 1- the form in app/views/layouts <% form_tag({:controller => "teachers", :action => "search"}, :method => "get") do %> <%= text_field_tag :query, nil, :id => "search-text" %> <%= submit_tag("GO", :id => "search-submit") %> <%

[Rails] Re: "LoadError: no such file to load -- openssl", following Rails Guides

2010-06-18 Thread James Fisher
bump. presumably this is a simple issue. On Thu, Jun 17, 2010 at 8:23 PM, James Fisher wrote: > [With apologies for cross-posting at > http://railsforum.com/viewtopic.php?id=39587] > > > > Hi all, > > I'm following the edge 'getting started' guide at > http://guides.rails.info/getting_started.ht

[Rails] JQuery+AJAX partial in form_for

2010-06-18 Thread Bohdan Pohoriletz
Hi! I want to render partial which depends on form builder "f". How can I do it using AJAX+JQuery Files #new.html.haml %h1 New order - form_for(@order) do |f| = f.error_messages %div#partial = render "#...@order.current_step}_step", :f => f #create.js.erb $("#partial").empty(); $("#part

[Rails] SQLite - show html from entry

2010-06-18 Thread Eric Yen
Hi, I have an entry in my database that has line breaks. I want those line breaks to actually appear as line breaks when the entry is displayed. So, I did something like: <%= string_var.sub("\n","":) %> It partially works. It actually replaces the < with < and the > symbol with >. Is there a wo

[Rails] render JSONp format

2010-06-18 Thread Geoff
I see that rendering json arrays is very simple but JQuery needs to have a jsonp format for cross domain requests. is there a way to have rails output in the jsonp format? Thanks in advance -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group

Re: [Rails] Re: Mac and Rails

2010-06-18 Thread Andy Jeffries
> > > Use Apache locally too. It's simple, Apache is already installed on > > Snow > > Leopard. Install Passenger and configure it (which you'll need to learn > > how > > to do for production anyway). > > What a waste of effort IMHO. I've never used anything but Mongrel > locally. It works fine

Re: [Rails] Need Full-time Senior Ruby Dev with CSS/Jquery skills etc

2010-06-18 Thread Michael Pavling
On 18 June 2010 00:24, Philip Hallstrom wrote: > On Jun 17, 2010, at 4:09 PM, Jan Drake wrote: > >> Subject says it all.  jan_dr...@hotmail.com > > No... it doesn't... :-) > > Company?  Location?  On-site or telecommute?  etc... ... salary? -- You received this message because you are subscribe

Re: [Rails] Re: Recursive self-referential many-to-many relationship

2010-06-18 Thread Colin Law
On 17 June 2010 22:22, Marnen Laibow-Koser wrote: > Toby Rodwell wrote: >... > If you don't have control of the database, you should not be doing the > project.  Really. > I don't think this is a valid general point. There are often situations involving a legacy database where it is not feasible