similar to: Bundled resource -- something I''m missing

Displaying 20 results from an estimated 100 matches similar to: "Bundled resource -- something I''m missing"

2006 Jan 27
20
bundled_resource v.0.9
Original announcement at http://blog.inquirylabs.com/ [1] == What is bundled_resource? == If your development is in any way similar to mine, there are a number of useful resources out there that make web applications shine beautifully. For example, there?s the Dynarch calendar and the textarea tools. There are a number of others?too many, in fact. The problem is that as a web developer,
2006 Dec 11
1
Compute date during before_validation_on_create
Hello, - the form posted by the user have a date field - this date is begin_date, I need to compute end_date - so, added callback before_validation_on_create - in this method I do : end_date = begin_date >> 12 - unfortunately, beeing in before_validation the actual self.begin_date have not been type casted - It''s always a string - unfortunately again, I can''t put this code
2006 Jan 17
4
find_by_sql column ordering defect?
Hello. I have a program that accesses a metadata (translation) table for column names as well as the ordering of columns for a specific model. Also in there is a collection of bool options such as column_visible_on_form, column_visible_on_screen_quicklist etc. The idea is that our customer can specify to a certain extent how their layout/user interface will appear. To accomplish this, I use
2006 Apr 18
3
ez_where query question
I''m having fun composing queries with ez_where, but am stuck on how to formulate the following using the ez syntax: (begin_date >= ? OR end_date >= ?) AND (description LIKE ? OR name LIKE ?) There are two clauses, each containing OR operators (the ez ''any'' syntax) but both clauses must evaulate to true for a match. Can anyone suggest the proper way to construct
2012 Jul 10
1
calculating the difference between days?
Hi List, I have one column of beginning dates and one column of ending dates, I want to find their difference. And I want to ignore the trailing zeros, basically everything after the first colon mark. Begin_date End_date 01JAN2000:00:00:00:000 02FEB2002:00:00:00:000 24MAR2012:00:00:00:000 18MAY2012:00:00:00:000 01OCT2003:00:00:00:000
2008 Oct 14
4
replace_html not working
hallo, everyone can anybody help me? i did add my code under ENGINES as a module in a project. before the change , all worked . and the differenz between both is only about application''s environment, before is Ruby version 1.8.6 (i486-linux) RubyGems version 1.1.1 Rails version 2.0.2 Active Record version 2.0.2 Action Pack version 2.0.2
2006 Feb 28
6
Activerecord equivalent of the SQL "SUM()" function.
Search doesn''t seem to be working, so forgive me if I''m covering old ground here, but I''m having a difficult time figuring out how to implement a "SUM()" function using Active record. Obviously, I could just create a query, but I''d rather make it part of my active record object. Basically I have an object called "Report <
2010 Mar 31
0
Date format in Rails 3.0 using sqlite3
Hi, I am new to Ruby and Rails, so I don''t know if this is my fault, but maybe this is a bug in Rails (I''m using Rails 3.0 beta) which should be reported. I have following search statement: [code]events = CalendarEvent.find :all, :conditions => { :target_date => begin_date..end_date }[/code] which produces following sqlite output: [code]SELECT
2006 Jan 20
13
Calendar date picker for use with rails.
Howdy folks, As I was putting together a rough form for a rails app, I got to thinking how much smoother (in my siytuation) a little calendar widget would be than the default date picker selects. Does anyone know if such a thing exists ? I suspect it would have to be somewhat designed with rails in mind to populate the right kind of post params for convenient use at the controller end.
2006 May 28
1
Bundled Resource 0.9 dynarch_date_select
I''m new to rails and and am trying to incorporated dynarch_date_select in my application. I''m using Rails 1.1.2 with Bundled Resource 0.9. I''m trying the following test:- <% require_bundle :dynarch_calendar %> <%= error_messages_for ''t1'' %> <!--[form:t1]--> <p><label for="t1_start_date">Start
2006 Feb 09
17
complicated finds are eating my sole
I abandoned ruby way for find_by_sql and still can''t get this... @myplacement = Placement.find_by_sql( "select * from placement where :intake_date >= beg_intake_date and :intake_date <= end_intake_date") just a simple date range...it''s killing me - If I knew how to load placement controller into irb, I could probably try out finds interactive mode... Thanks
2005 Jun 21
3
dynarch calendar problem when used with ajax
I''ve got a partial with a form using the dynarch calendar (calendar_field behavior). Working. Now I render this partial from the action specified in to a link_to_remote. Now when I click the calendar it''s not showed anymore. theese lines: <%= stylesheet_link_tag ''calendar-system.css'' %> <%= javascript_include_tag ''calendar'',
2005 Apr 28
7
Calendar helper?
Does anyone know if someone has created a popup calendar helper for selecting dates? The current way in rails with the multiple selects is cumbersome at best, and I didn''t see any calendar type helpers in there.
2006 Jul 11
5
What are people using for date fields
I''m just curious about what techniques others have successfully used to capture date data on forms as an alternative to the standard date_select. I have to admit I''ve been lazy and only used the date_select as we have very few dates in our system now, but that is about to change. I would like something better. Any thoughts? -- Thanks, Sam -------------- next part
2006 Jan 08
10
Resource Bundle Roundup
I''ve recently made a first release of what I''m calling "bundled_resource" which is a plugin that makes our lives *much* easier when we need to use javascripts, stylesheets and images in conjunction with one another to deliver a special effect or tool on the client (browser) side. If you missed the release, read about it on my blog at
2006 Jul 25
8
Calender Script?
I have been trying to get one of the calender javascripts to work with the <%= form.text_field. So when the user pick the date it updates the time fields? (like in normal reservation system where you pick up the date and time from the calender and when user pick the selection it updates the field) but I could not get this to work. Does anyone have got something similar to work? or could
2006 May 05
1
Date calender instead of selectboxes like in Django
Hi, please have a look at http://www2.jeffcroft.com/2006/may/02/django-non-programmers/ especially the screenshot in the middle with the Calender. Instead of 3 selectfields with day, month, year I find this one much more userfriendly, also having yesterday, today and tomorrow. Are there plugins for this? I know http://www.dynarch.com/projects/calendar/ which I often included in my php-sites, and
2006 Aug 30
3
Dhtml Calendar Engine undefined method popup_calendar
Hi, I''m trying to use the above engine following the installation here http://dry.4thebusiness.com/DhtmlCalendar.html . The only exception to the install is I downloaded and unzipped the install into the plugins directory from Ruby Forge http://rubyforge.org/projects/dhtmlcalendar/ I''m using Instant Rails and Rails V1.1.6., The engine plugin is also installed The engine
2006 Feb 10
14
dynarch calendar and calendar helper usage
I am playing around with this and reference this wiki from RonR site... http://wiki.rubyonrails.org/rails/pages/CalendarHelper The error I am getting is: NameError in Placements#list undefined local variable or method `date_format'' for #<PlacementsController:0xb78f9ef4> RAILS_ROOT: script/../config/.. Application Trace | Framework Trace | Full Trace
2006 Jun 13
1
Recommendations please for plugin(s)
For my application I''m going to be in need of a 1-small calendar (pop up kind) where a user would click on a month/date and it would be sent back to the form action. 2-also some kind of textarea / htmlarea plugin I''ve perused around the plugin directory and possible found a calendar. I think dynarch is the name and included in a suite. As for the htmlarea I think there was a