On Mar 28, 5:44 am, Jeffrey Bonson wrote:
> My problem is the div is not getting updated, like the way, a
> link_to_remote would have worked. I am able to see all the div commands
> and the expected data in a simple white screen after the second
> pagination click. Am i missing a simple coding
Hi ,
SiliconIndia is organizing "WebApps 2011" in Delhi on April 9th, 2011.
Drawing well-renowned thought-leaders, contributors, influencer's, and
organizations in the Web Development space, the conference offers
insight to develop industry-leading Web Development projects. The
conference brings t
gcc -shared -o ../../../.ext/i686-linux/digest/md5.so md5init.o md5.o -
L. -L../../.. -L/home/rails3/.rvm/usr,/lib -Wl,-R/home/rails3/.rvm/
usr,/lib -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/home/
rails3/.rvm/rubies/ruby-1.9.2-p180/lib -L/home/rails3/.rvm/rubies/
ruby-1.9.2-p180/lib -lruby -
Hi,
I installed the will_paginate plugin and i used the coding below:
#controller
def show_tags
@tags = Tag.find(:all,:conditions => ['name LIKE ?',
'%A']).paginate(:per_page=>10, :page=>params[:page])
end
View show_tag
<%= render :partial => 'tags/registry_tags' %>
<%=will_paginate @tag
ntlm is used only for workgroups, domains use ldap to access the DS, devise
has a plugin for ldap.
https://github.com/cschiewek/devise_ldap_authenticatable
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email
Hi All,
I'm taking on a re-write project for a ticketing system solution and my
company uses ASP.net with IIS. I want to build the new ticketing system
with Rails as I believe it to be a much cleaner long term solution, and
add to that I don't care for ASP and how it handles sessions.
I've searc
Stewart wrote in post #989366:
> Hello,
>
> I am using the to_json method to encode models to json. Standard
> stuff. I am using the :include option so that a relation model gets
> added to the encoded json. Again this is fine however the related
> model is a user model that has things like md5 pas
On Mar 25, 4:33 pm, John Merlino wrote:
> Here's the method:
>
> def paginate(resources)
> @all_resources = resources
> @limit = (params[:limit] && params[:limit].to_i) || 25
> @page = (params[:page] && params[:page].to_i) || 1
> @page_index = @page - 1
> @offset = @page_index * @limit
On Mar 25, 2:00 pm, "sol.manager" wrote:
> When I change the Rails gem version from 2.2.2 to 2.3.4 and restart
> the site, I get:
> Error message:
> undefined local variable or method `version_requirements' for
> #
> Exception class:
> NameError
>
> I did some investigating and realized that on
Our app is on Rails 2.1.0 and has a couple of fields used for job
descriptions. These fields use textile codes for bold, italic,
underline, etc... From what I understand this is provided by RedCloth
and acts_as_textiled. I have been investigating and find
acts_as_textiled (https://github.com/defunk
Sent from my iPhone
On Mar 27, 2011, at 9:15 AM, amritpal pathak wrote:
> I tried to generate the form using
> <%= start_form_tag :action => 'create' %> in
> app/view/book/new.rhtml
> and when i browse to localhost:3000/book/new i got the
> following error
On 27 March 2011 16:15, Bryan Crossland wrote:
> Sent from my iPhone
> On Mar 27, 2011, at 9:15 AM, amritpal pathak
> wrote:
>
> I tried to generate the form using
> <%= start_form_tag :action => 'create' %> in
> app/view/book/new.rhtml
> and when i browse to lo
Hi Fred, in Rails 3 I found validates_associated to be the most
streamlined approach for such a normalized model.
http://guides.rubyonrails.org/active_record_validations_callbacks.html#validates_associated
Thanks again!
--
Posted via http://www.ruby-forum.com/.
--
You received this message b
On Mar 26, 1:24 pm, Gustavo de Sá Carvalho Honorato
wrote:
> Hi,
>
> to serialize an array to xml we can use:
>
> an_array = [ 1, 2, 3]
> an_array.to_xml
>
> But to I can't find a way to convert back XML to array. I didn't find a
> method Array.from_xml like Hash.from_xml.
>
> Any ideas?
I have n
I tried to generate the form using
<%= start_form_tag :action => 'create' %> in
app/view/book/new.rhtml
and when i browse to localhost:3000/book/new i got the
following error
undefined method `start_form_tag' for #
Please help me to solve this
Thanks
--
You
using https is very simple. unless you are offering accounts based on
subdomains, like sean.yoursite.com, jiblethead.yoursite.com etc. then
you are going to need a wildcard subdomain to handle each domain with
the same certificate. it's just as simple to setup but is a little
more expensive. but yo
Hi all,
I have a model (stable) with many children (horses). I have created my
routes so that you access horses via stables, but this is causing
issues with trying to test my horses_controller create action.
Routes:
resources :users
resources :sessions, :only => [:new, :create, :destroy]
re
Please post your model code
On Mar 26, 12:56 pm, Mistral Contrastin wrote:
> I couldn't find any other source to solve my problem, so I'm posting
> here I have a controller "candidates"
>
> class CandidatesController < ApplicationController
> def new
> @candidate = Candidate.new
> end
> e
I've ended up with monkeypatching:
https://gist.github.com/889160
module Kaminari
module Helpers
class Tag
def page_url_for(page)
@template.url_for @template.params.merge(@param_name => (page
< 1 ? nil : page))
end
end
end
end
On Feb 25, 1:54 pm, "T. N. T." wro
On 27 March 2011 09:50, amjad1233 wrote:
> I am using mysql 5.0 and rails 3.0.3 when I try to connect it to MySql
> ( through rake migration) it works fine but it does not like when I
> try to fetch data from der...
It might help if we had some idea of what problem you are seeing.
Post the comple
On 26 March 2011 23:04, Bryan Crossland wrote:
> On Fri, Mar 25, 2011 at 10:17 PM, salim mandrekar
> wrote:
>>
>> yes.
>> database.yml file is ok..
>> even i can run the rake db:create and rake db:migrate commands with zero
>> errors..
>> wat can be the problem?
>
> What is on line 7 of this file
I am using mysql 5.0 and rails 3.0.3 when I try to connect it to MySql
( through rake migration) it works fine but it does not like when I
try to fetch data from der...
Will anybody help me for that or let me know how I can change sever
from Webrick to something else ?
--
You received this messa
22 matches
Mail list logo