Displaying 20 results from an estimated 57 matches for "mislav".
2009 Nov 01
19
will_paginate vs mislav-will_paginate
I''ve just reinstalled linux (9.10) and am trying to match my gem
environment to our server''s. I''m having a problem with will_paginate.
On the server, under gem list, i have "mislav-will_paginate (2.3.6)".
So, i''m trying to install that locally. Following the instructions on
the will_paginate page, http://wiki.github.com/mislav/will_paginate,
i''ve installed it.
But, it shows up on my gem list as simply "will_paginate", and rails
complains bec...
2007 May 27
4
when will "TODO" comment/rake support come out?
Hi - quick question: when will "TODO" comment/rake support come out?
Tks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To post to this group, send email to rubyonrails-core@googlegroups.com
To unsubscribe from this group, send email to
2009 Oct 28
2
mislav-will_paginate(will_paginate)
mislav-will_paginate(will_paginate) doesn''t work after search.
servers_controller.rb
def index
@servers = Server.paginate(:page => params[:page], :per_page => 20,
:order => ''device_id ASC'')
respond_to do |format|
format.html # index.html.erb
forma...
2009 Oct 05
11
Unable to install plugins from github
Hi All,
My operating system is FC11...I tried to install will_paginate from
github directly like this -
script/plugin install git://github.com/mislav/will_paginate.git
But I get an error saying
[ckkashyap@KingCobra test_plugin]$ script/plugin install
git://github.com/mislav/will_paginate.git
Plugin not found: ["git://github.com/mislav/will_paginate.git"]
I have git on my machine - I even ran "gem install git" which
install...
2010 May 17
6
Should an blank string be html_safe?
Just trying to implement a simple helper over the past few days had me
really confused.
messages = ''''
messages << content_tag(:p, ''dave'')
#=> <p>dave<\p%;gt;
Eventually I realised the original empty string was not html_safe
message = ''''.html_safe
message << content_tag(:p, ''dave'')
#=>
2008 Jan 21
8
Polymorphic URL helpers documentation and fixes
...onPack tickets with "polymorphic" in title:
http://dev.rubyonrails.org/query?status=new&status=assigned&status=reopened&component=ActionPack&summary=%7Epolymorphic&order=priority
This one needs a discussion of its own:
http://dev.rubyonrails.org/ticket/9621
Thanks.
- Mislav
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To post to this group, send email to rubyonrails-core@googlegroups.com
To unsubscribe from this group, send email to rubyonrails-co...
2008 Oct 02
1
acts_as_taggable_on environment issues
...ner.rb:47: /Users/mark/Documents/Feedback
Games/development/tidbitz/vendor/rails/activerecord/lib/active_record/
base.rb:1667:in `method_missing_without_paginate'': undefined method
`acts_as_taggable_on'' for #<Class:0x20e1f08> (NoMethodError)
from /Library/Ruby/Gems/1.8/gems/mislav-will_paginate-2.3.4/lib/
will_paginate/finder.rb:164:in `method_missing''
from /Users/mark/Documents/Feedback Games/development/tidbitz/app/
models/tidbit.rb:3
from /Users/mark/Documents/Feedback Games/development/tidbitz/vendor/
rails/activerecord/lib/../../activesupport/lib/active_suppo...
2006 Jun 18
0
Rails Core Weekly June 11 - June 18
...p://www.ruby-forum.com/topic/68209#new ]
The discussion on partial commit access goes on. DHH
likes the idea for the database adapters but doesn''t see
the usefulness for access outside of that.
[ http://www.ruby-forum.com/topic/69185#new ]
The most fun thread this week to follow was by Mislav Marohnic, who
started a discussion about kilobytes and kibibytes. If you want to
know whether you are a good programmer or a poor scientist, take his
little quiz. Mislav is after resolving ticket
http://dev.rubyonrails.org/ticket/4661 which fixes Numeric#kilobyte
and numeric extensions to measure i...
2009 Nov 03
2
will_paginate pagination problem
hi;
i use will_paginate the first page come true but all other page get the
same data of first page i checked in controller "page" parameter works
true but paginate get only first page''s data and shows these data in all
pages
forexample first page seen A,B second page also seen A,B but second page
must be C,D
my code is;
controller :
@list = Company::Env.paginate :page =>
2007 Jun 28
23
DRYing link_to with a symbol
Hi, I just put in a patch that allows you to DRY up this:
<%= link_to @company.name, @company %>
to this:
<%= link_to :name, @company %>
The symbol indicates the method to be called on the object passed in
the link_to options.
http://dev.rubyonrails.org/ticket/8789
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
2010 May 12
16
In development mode not all types are included in the query related to type
class User
end
class Agent < User
end
script/console production
User.find_by_name ''john''
SELECT "people".* FROM "people" WHERE ((("people"."type" = ''User'' OR
"people"."type" = ''Manager'') OR "people"."type" = ''Agent'')) AND
2009 Sep 18
13
Rails 2.2.3-1 Problem
After installing the rails I faced this problem. If anyone aware of this
problem, kindly give solution for this.
vellingiri@WebDevel:~/public_html/Isync$ ./script/server
=> Booting WEBrick...
/usr/local/lib/site_ruby/1.8/rubygems.rb:149:in `activate'': can''t
activate activeresource (= 2.3.4, runtime), already activated
activeresource-2.1.0 (Gem::Exception)
from
2010 Apr 16
1
Active Record observers broken: can't be used for "before" callbacks
I was just wondering what about a report that I made almost 2 months
ago: Active
Record observers
broken<https://rails.lighthouseapp.com/projects/8994/tickets/4087-activerecord-observers-cant-be-used-for-before-callbacks>
I think it''s a pretty big bug. In Rails 3, creating an observer with a
"before_save" callback (for instance) will result in all observed models
being
2010 Sep 08
2
Rails 2.3.9 breaks sessions with Active Record or Memcache store
A Rails 2.3.9 app with Active Record or Memcache session store will never
send the session ID cookie to a client if the client doesn''t send any HTTP
cookies in its requests. Rails integration tests didn''t catch this because
they always send the HTTP_COOKIE header, even if it''s empty.
This is a huge bug, as it can break keeping sessions on sites which don''t
set
2007 Nov 10
0
Radiant 0.6.4 - Gem Shaper Release
...of Radiant:
http://radiantcms.org/download/
This release contains a few major changes as well as numerous bug-fixes and
enhancements. Included in the release are Rails 1.2.5, Prototype 1.6 and
script.aculo.us 1.8. Significant refactorings have been done to the
admin UI Javascripts, thanks to Mislav Marohnic. The release also provides
better support for MS SQL Server via Rails ticket/patch #8886 and stricter
XHTML compatibility.
WHAT IS RADIANT CMS?
Radiant is a no-fluff content management system made for designers and
programmers and is ideal for use on small teams. It is similar to
Movab...
2007 Sep 27
6
Security + Rails =Joke?
Hi,
http://dev.rubyonrails.org/ticket/8453
http://dev.rubyonrails.org/ticket/8371
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-3227
I came across the above by accident. While I am subscribed to the so
called rails security list where supposed announcement of security
issues were to be posted, neither of the above problem made the list.
While I use rails a lot and like it, the above
2011 Nov 22
7
rake aborted with ruby on rails
...uby-1.8.7-p352-D9TI4Ms3gBgeRYYz77F+sQ@public.gmane.org/gems/rails-2.3.11/lib/tasks/rails.rb:10)
DEPRECATION WARNING: Kernel#returning has been deprecated in favor of
Object#tap. (called from enable_activerecord at
/home/vishnu/.rvm/gems/ruby-1.8.7-p352-D9TI4Ms3gBgeRYYz77F+sQ@public.gmane.org/gems/mislav-will_paginate-2.3.11/lib/will_paginate.rb:39)
** TwitterAuth initialized properly.
rake aborted!
/home/vishnu/.rvm/gems/ruby-1.8.7-p352-D9TI4Ms3gBgeRYYz77F+sQ@public.gmane.org/gems/texticle-2.0.2/lib/texticle.rb:44:
syntax error, unexpected tIDENTIFIER, expecting tAMPER
__send__(method, *sea...
2006 May 24
3
Real life use of multiple linked models in the same view
I''m pretty new to Rails and now, in order to fully learn RoR, I''m trying to replicate a project developed in Java using Hibernate+Tapestry. Tapestry is based on components and you can really use objects mappings in views like:
Example from the contact edit (view).
<input jwcid="@TextField" value="ognl:contact.name" />
<input
2008 Jun 26
3
Freeze and dependence problems?
Hello
I have a server using Rails 1.1.6
So I developed my application on my computer, with Rails 2.1
After that I did a rake rails:freeze:gems. That sent Rail gems was sent
to /vendor/rails
I sent my application to server, configured, and everything was working
fine, using Rails 2.1 Freezed Version.
Now I need to install a plugin (will_paginate).
But when I try to ''require''
2010 Jan 18
1
binarylogic-searchlogic ~> 2.0 binarylogic-authlogic mbleigh-subdomain_fu
...ms:install` to install the missing gems.
This is my environment.rb:
config.gem ''binarylogic-searchlogic'', :lib => ''searchlogic'', :source
=> ''http://gems.github.com'', :version => ''~> 2.0''
#config.gem ''mislav-will_paginate'', :lib => ''will_paginate'', :source
=> ''http://gems.github.com''
config.gem ''RedCloth'', :lib => ''redcloth''
config.gem ''hpricot'', :source => ''http://code.whytheluck...